-
Notifications
You must be signed in to change notification settings - Fork 95
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
--set "query:$NAME=$VALUE"
is not supported
#303
Comments
You can do it like this:
|
But this will replace the whole query string instead of just setting the specific query parameter:
From a consistency perspective I'd expect something like:
|
Ah, thanks, now I understand what you meant! |
This is what
|
Yes, or This issue is more about syntactical consistency than available functionality. |
I'm not sure such strict consistency is worth fighting for.
|
I don't agree here. I'd personally expect
would then behave identically to
This would allow
|
I think Having I suppose we could have |
I don't talk about taking the possibility away to replace the whole query via |
Right, but if we have |
Via These are different syntaxes.
The same already holds true for the get option:
|
Oh sorry, I misread |
I would not be against if someone adds support for setting a specific query pair with |
While
--get "{query:$NAME}"
is valid syntax,--set "query:$NAME=$VALUE"
is not. This is somewhat unintuitive. Instead, you have to use--force-replace "$NAME=$VALUE"
which does the same thing as--set
for all other URL components.The text was updated successfully, but these errors were encountered: