Skip to content
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

Reordering of Custom Query Options #121

Open
amouledous1 opened this issue Oct 11, 2021 · 0 comments
Open

Reordering of Custom Query Options #121

amouledous1 opened this issue Oct 11, 2021 · 0 comments

Comments

@amouledous1
Copy link

In the merged PR feat(CustomParams): Added support for custom query parameters #92 from Mar 29, 2020, the custom query options were added to the HttpParams after operations such as select, filter, etc. Not sure about anyone else, but our endpoints (in the event that they require custom parameters but also support select/filter/expand operations) require the custom query options to come first in the request, s.a:

http://localhost:61868/route/v1/Reports?effectiveDate=2018-06-30&$select=effectiveDate,startedDate&$filter=startedDate
As opposed to:
http://localhost:61868/route/v1/Reports?$select=effectiveDate,startedDate&$filter=startedDate&effectiveDate=2018-06-30
in which the custom param effectiveDate=2018-06030 will not be properly recognized at the end of the query string.

Can we reorder this and enforce it as the first parameter in the request? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant