-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Compatibility with grape-entity > 0.5.0 #1350
Comments
I am on |
I can confirm that. Looks like it was introduced by grape-entity 0.5.1, which is used in specs. It work with 0.5.0. I don't see anything immediately obvious in https://github.com/ruby-grape/grape-entity/blob/master/CHANGELOG.md, opened ruby-grape/grape-entity#213. Needs to be tracked down. |
Introduced by a regression in ruby-grape/grape-entity#204. |
Workaround for #1350, lock grape-entity at 0.5.0.
This also affects the generation of error messages that use an Entity model for generating the output. This is due to the fact that it is expecting the You end up with your entity generated output being wrapped with in |
Hi guys. Please take a look: ruby-grape/grape-entity#232 |
Closing, this is fixed. |
I forked and clone
grape
and run test cases onmaster
branch and I got these three failing specs:We are expecting
json
response but are actually gettingString of Hash
. May be all of them are related withpresenter
and I also try to fixed it, but couldn't figure out the solution.The text was updated successfully, but these errors were encountered: