We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using - resource("/api").withParam("x","").withParam("y","")
expected output - "/api?x=&y=" current output - "/api?x"
some web apis need all their params to find the correct route. this is how i found out about this issue.
please advice.
The text was updated successfully, but these errors were encountered:
Ah, that's a bug. Mysterious!
(The correct result should be /api?x&y, not /api?x=&y=. Siesta drops the = for empty string param values.)
/api?x&y
/api?x=&y=
=
Sorry, something went wrong.
Make withParam(…) preserve params with empty values
f45933e
Fixes #222
No branches or pull requests
Using -
resource("/api").withParam("x","").withParam("y","")
expected output - "/api?x=&y="
current output - "/api?x"
some web apis need all their params to find the correct route.
this is how i found out about this issue.
please advice.
The text was updated successfully, but these errors were encountered: