Implementation of services Query-Parameter#93
Open
SpeckiJ wants to merge 6 commits into52North:developfrom
SpeckiJ:feature/v2.x/service-query-parameter
Open
Implementation of services Query-Parameter#93SpeckiJ wants to merge 6 commits into52North:developfrom SpeckiJ:feature/v2.x/service-query-parameter
services Query-Parameter#93SpeckiJ wants to merge 6 commits into52North:developfrom
SpeckiJ:feature/v2.x/service-query-parameter
Conversation
Added Service filter to `/stations` Endpoint [untested].
Added Service Parameter to all Repositories.
…ot to be implemented. (align docs with implementation)
…wanted but no custom createCondensed/createExpanded is implemented.
Member
Author
|
NOTE: Entity Counter currently has no way of supporting this Query Parameter (can not filter Spring injected variables due to previous Projection to single number inside Hibernate). This breaks Pagination as it relies on EntityCounter counting correctly. |
Contributor
|
Some notes:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This implements the Query Parameter on all Endpoints described in Issue #92.
As the service entity might not be mapped by hibernate but be injected by spring the filtering can not be done in Hibernate, and must be done after the results were retrieved from the database (only then is it certain that entities have the correct associated service entity.)