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
I'm trying to get the request params inside an Entity file. What is the best way to do that ?
The documentation says it should be in options[:env]['grape.request.params'] but it doesn't seem to work.
I could only get the params using options[:env]["rack.request.query_hash"] but I had to manually convert the number params to integers for me to be able to use them.
Is there a better way to get those params ?
The text was updated successfully, but these errors were encountered:
Hello,
I'm trying to get the request params inside an Entity file. What is the best way to do that ?
The documentation says it should be in options[:env]['grape.request.params'] but it doesn't seem to work.
I could only get the params using options[:env]["rack.request.query_hash"] but I had to manually convert the number params to integers for me to be able to use them.
Is there a better way to get those params ?
The text was updated successfully, but these errors were encountered: