-
-
Notifications
You must be signed in to change notification settings - Fork 735
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
Feature request: Add support for something like QueryMap in RestEase #252
Comments
Hi, |
Yes, there is a pretty elegant solution that I found with @paulcbetts help. Basically you can create an IRequestQueryParmSerializer and implement the SerializeQueryParam method, In that method, I take "value" and using a little bit of reflection I convert it to a Dictionary<string, string> object. So far this is working extremely well. |
Hi again, Thanks |
Closing due to age. Please try Refit v6 and reopen if still an issue. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
It would be great to see support for something like the Querymap in RestEase. I am looking for some why to leverage an entire object as possible query string parameters (or at least all non null values). This would make it easier to support search for more complex APIs
This would generate different query strings based on which propertied are non-null/non-empty values.
The text was updated successfully, but these errors were encountered: