-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
[Proposal] Create a way for Query Parameters to have a custom operator other than just "=" #475
Comments
Would this be better implemented as a plugin, or will this require a PR to Zodios itself? |
Hello, Thank you for the proposal, |
Thanks for the feedback. Once I'm done with my current project, I'll take a stab at making a Zodios plugin for this using paramsSerializer. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
closing. But feel free to share the results with the community |
First, love this project and being able to define APIs in a type-safe way.
The issue I'm trying to solve is I have to support a bunch of query parameters that aren't just
/foo?field=value
.Example Query Parameters:
Proposal
If we define a url query as consisting of a field, a value and an operator, I want to support various operators.
Create an optional
operator
field on the parameters object.Usage:
Create a new
RAW_QUERY
query type that exposes the full parameter string (everything between and excluding the?
and&
characters).Usage:
The text was updated successfully, but these errors were encountered: