-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat: adding support for cookies in snippets #421
Conversation
|
||
delete queryParams[param]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why I was doing this hokey property deletion stuff instead of just setting directly to metadata
... 🤷
@@ -32,11 +32,11 @@ | |||
], | |||
"cookies": [ | |||
{ | |||
"name": "foo", | |||
"name": "foo-cookie", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed these cookie names off foo
and bar
because this, and the full
, test have those already as parameters and api
doesn't support differing parameter types that share the same name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code and tests look fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
304fcdc
to
6ebb613
Compare
🧰 Changes
This adds support for both cookie auth and cookie parameters in
api
snippets. This work was previously added toapi
in #393 but, contrary to what that PR says, snippets have never supported it.🧬 QA & Testing