generated from ghga-de/microservice-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parameters for sorting options (GSI-329) (#15)
* Add sorting spec parameters * Pass sorting parameters through service chain * Apply sorting in pipeline * Always include id_ in sorting parameters * Make sorting_parameters optional in QueryHandler * Rename facet stage and run it every time * Add validator to prevent duplicate sort fields * Add tests for the sorting parameters * Bump version from 0.3.0 -> 0.3.1 * Change intenum to string enum * Change sort_field/sort_order to field/order * Update openapi * Update tests * Tweak model creation in tests --------- Co-authored-by: TheByronHimes <[email protected]>
- Loading branch information
1 parent
2e5f7e3
commit 1598193
Showing
14 changed files
with
338 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"field": "some data", | ||
"id_": "i2" | ||
}, | ||
{ | ||
"field": "some data", | ||
"id_": "i1" | ||
}, | ||
{ | ||
"field": "some data", | ||
"id_": "i3" | ||
}, | ||
{ | ||
"field": "some data", | ||
"id_": "i5" | ||
}, | ||
{ | ||
"field": "some data", | ||
"id_": "i6" | ||
}, | ||
{ | ||
"field": "some data", | ||
"id_": "i4" | ||
} | ||
] | ||
} |
Oops, something went wrong.