You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use rails 7.1.0, the output of route.entity in grape is #<Class:0x000000010bb66910>.
However, when using rails 7.0.8, the output of route.entity becomes the normal V1::Entities::Dev::Haha.
All other code is the same except for the change in Rails version.
This leads to an incorrect entity name in the definitions when generating swagger json.
I'm not sure if this is an issue with grape or grape-entity, so I've posted the issue here.
The text was updated successfully, but these errors were encountered:
hsw15192617273
changed the title
route.entity can not get entity class in Rails 7.1route.entity can not get entity class in Rails 7.1
Oct 10, 2023
I use grape gem version is that:
When I use
rails 7.1.0
, the output of route.entity in grape is#<Class:0x000000010bb66910>
.However, when using
rails 7.0.8
, the output of route.entity becomes the normalV1::Entities::Dev::Haha
.All other code is the same except for the change in Rails version.
This leads to an incorrect entity name in the definitions when generating swagger json.
I'm not sure if this is an issue with grape or grape-entity, so I've posted the issue here.
The text was updated successfully, but these errors were encountered: