-
Notifications
You must be signed in to change notification settings - Fork 7
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
Hand orderByFields
, limit
and offset
to SILO
#290
Comments
It would actually be great if you can support ascending/descending as well but I'm not sure what a good and easy format would be. Would Happy to hear other suggestions! |
At least in POST requests we could accept both (similar to SILO)
and
We could also decide to only allow the second version, since we expect POST requests to be mostly generated programmatically, so we don't need a short version. Do we need to support this in GET requests? I don't have any better idea and I suspect that no one might ever use that. |
Good point, only supporting that in POST requests would be enough probably! Let's do that for now. |
SILO allows the fields
orderByFields
,limit
andoffset
on every action. Accept them as additional query parameters (GET requests) or in the response body (POST requests) and pass them on.The text was updated successfully, but these errors were encountered: