Comments (15)
@mathieujobin Please check these warnings are creating chaos in my current application. Is there any plan to fix those?
from apipie-rails.
Those warning are gone with ruby 3.0 and 3.1
and 2.7 goes EOL at the end of the month... I'd say its not worth fixing...
from apipie-rails.
Thanks a lot for reporting.
What version are you using?
I am wondering if it isn't one of the recent refactor by @PanosCodes ?
Easiest would be to compare a few versions to find out.
I am mostly using ruby 3 everywhere. But I had never noticed those.
Thanks again
from apipie-rails.
I am using ruby 2.7.7 & rails 5.2.4.1 with latest apipie gem.
from apipie-rails.
raised this PR - #836
from apipie-rails.
Thanks a lot for reporting.
What version are you using?
I am wondering if it isn't one of the recent refactor by @PanosCodes ?
Easiest would be to compare a few versions to find out.
I am mostly using ruby 3 everywhere. But I had never noticed those.
Thanks again
It seems unlikely, but I'll look into it 👀
from apipie-rails.
In orders to expose these warnings you need to run ruby in verbose warning level(2) ex RUBYOPT=-W2 rails test
and from what I see they do not seem to be relevant to any recent merges (checked with v0.8.0 tag and are present there too)
from apipie-rails.
In orders to expose these warnings you need to run ruby in verbose warning level(2) ex
RUBYOPT=-W2 rails test
and from what I see they do not seem to be relevant to any recent merges (checked with v0.8.0 tag and are present there too)
Yes Try to run test cases with $VERBOSE=true.
from apipie-rails.
Thanks for looking into it @PanosCodes, I didn't have anytime until now.
they seems pretty harmless. I agree warnings can be pretty annoying. I don't have this verbose flag on myself...
@nitinsingh25 Can you try if this branch fix your issue?
I have not tested it, only modified the code.
Thanks
from apipie-rails.
@mathieujobin Thank you for your quick response. I have tested my changes with #838 and added comment there. Can we quickly fix all these warnings and quickly release next patch version?
This will be super helpful & reduce ~21K lines of warnings in my project due to this gem only.
from apipie-rails.
@mathieujobin Any update on above?
from apipie-rails.
Those warning are gone with ruby 3.0 and 3.1
and 2.7 goes EOL at the end of the month... I'd say its not worth fixing...
Okay. Let me find out some other way to silent this gem specific warnings in my application because Ruby 3 upgrade is not in our pipeline as of now. We are just upgrading to ruby 2.7 only.
from apipie-rails.
you can use my branch I made for #838, or cherry-pick the changes... but I'm not ready to release those changes just yet...
from apipie-rails.
closed by mistake, I don't mind keeping it open
from apipie-rails.
I changed my mind, I suggest you switch to $VERBOSE=false
until you can upgrade to ruby 3.0
from apipie-rails.
Related Issues (20)
- Enable Style/HashSyntax Ruby 1.9 HOT 2
- Missing translation `apipie.returns`
- How to specify binary-type params HOT 3
- [v1.0] NoMethodError: undefined method `resource_id' for Apipie:Module HOT 2
- Generate multiple swagger-files HOT 7
- Swagger warnings for optional parameters even when using `property` HOT 2
- Swagger generation mixes up controllers with same name: HOT 4
- Apiepie::ParamErrors Inconsistent interface HOT 6
- Swagger JSON cannot parse Array of Hash in params HOT 3
- How do I specify a custom Description, I get "Another API description" HOT 2
- Discrepancy: `params` Defined as Array of Integer in Apipie appears as Array of Strings in Swagger File HOT 4
- Incorrect Representation of Array of Hashes in Swagger Output HOT 3
- How can I define a param group without duplicating what is defined in ActiveRecord model? HOT 1
- How to display an example for a request in Swagger? HOT 2
- Are multiple base url's possible
- "allow_blank" setting is not displayed in api doc HOT 3
- Array and files swagger
- Blank validator error message is wrong
- Blank validator error message is wrong HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apipie-rails.