-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `[]=' for nil:NilClass #741
Comments
+1 |
please submit a spec, which re-produces this behaviour, so someone (maybe you) can take it over to fix it |
Hello, Here is the repo : https://github.com/Lalensia/mapotempo-web/tree/update_swagger And there is the commit that update grape and swagger : https://github.com/Lalensia/mapotempo-web/commit/22de6245dc63d4d5ee663ece3b49e925507f3b8f |
Well, after many hours searching for solution, i came to the conclusion that I have no solution ^^", I just don't understand why :/ |
I've made that and it worked |
Hi @pisaq … would be nice, if open an PR, so it can be included … thanks |
ah sorry, wasn't clear, that one exists |
will have a look on it today |
@fotos ;) |
👋 @pisaq and thanks for the mention. I'm not really sure how my branch fixes the problem mentioned here. Nevertheless I'll certainly have a look tomorrow. 👀 If this is the case, then I'm glad we have a 2nd project to confirm the issue and increase our confidence on the fix. In any case I'd certainly appreciate some feedback on #742. |
yeah, I remember … and sorry for no commenting it seems the ruby-grape/grape#1863 isn't related to it …
|
Hello,
I have updated grape from 0.19.2 to 1.2.3 and grape-swagger from 0.25.3 to 0.32.1 and now I got a 500 error undefined method []= for nil::NilClass.
Can anyone help me please ? ^^"
here is the full backtrace :
`NoMethodError at /0.1/swagger_doc
app/api/api_cors.rb, line 25
App backtrace
Full backtrace
block in spawn_thread'
In my application.rb, i have Rack::cors enabled like this :
The text was updated successfully, but these errors were encountered: