-
Notifications
You must be signed in to change notification settings - Fork 109
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
RestrictiveQueryChecker (filter, sort, etc) #9
Comments
Override the properties on the controller, e.g. protected $allowedFilteringParameters = ['foo', 'bar']; Good point, this needs to be clearer in the docs. I'll leave this issue open so that I remember to do that. |
Also on this topic, I can now see
but when I try to access them like
Is there a different way we're supposed to access the sort parameters? |
Hey again,
Just trying to figure out where to pass the rules for the RestrictiveQueryChecker in the underlying neomerx package?
I'm getting an error on
->checkFiltering
etc, but I don't know where in the controller to allow filtering params?Would be a good update to the docs if it's an easy answer :) 👍
The text was updated successfully, but these errors were encountered: