Improve handling of sorting in MongoDB backend #276
Labels
priority/medium
Issue or PR with a consensus of medium priority
server
Issues pertaining to the example server implementation
Projects
Currently all fields are sort-enabled by default, and the entire
?sort=
parameter is passed through to the backend. We need to wrap this in some code to handle the following cases:It could be generally useful to allow sorting to be configurable (by list of allowed field names, and whether to allow multiple sort keys), to better support other backends too.
The text was updated successfully, but these errors were encountered: