-
Notifications
You must be signed in to change notification settings - Fork 153
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
Nested exposure doesn't work #191
Comments
Did you try this on HEAD? I think the fixes and support for nested exposures hasn't been released yet. We have tests for this,
cc: @idyll @marshall-lee maybe time to release 0.5.0 ... |
I saw it, but haven't tried, as we are depending on https://github.com/ruby-grape/grape-swagger here. Thought it's available for 0.4.x as well, but the 0.5.x has better implementation of the nested exposures. Looks like I need to work on ruby-grape/grape-swagger#314 first :) PS. That's why I thought it's similar on 0.5: https://github.com/ruby-grape/grape-entity/blob/0-4/spec/grape_entity/entity_spec.rb#L85 |
@dmitry Have you managed to get this to work? I think we are currently running into the same issues here. |
@namxam you can upgrade to 0.5, it should be fixed there. I've solved it by not using nested exposures :) |
I believe this is fixed, closing. |
This code:
Returns:
grape-entity: v0.4.8
grape: v0.13.0
The text was updated successfully, but these errors were encountered: