-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CookieStore] Only set Cookie
s if they are not already set
#2033
base: main
Are you sure you want to change the base?
[CookieStore] Only set Cookie
s if they are not already set
#2033
Conversation
This changes the behavior of the automatic usage of the `CookieStore` to avoid overwriting already-set `Cookie`s and, instead only sets them if they do not exist yet.
I'll take a look this weekend. |
Sadly this is a breaking change. |
I'm happy to if you have a suggestion? The current functionality is buggy given that it overrides explicitly provided cookies. |
Let me try something |
I'd say change this directly in |
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.
Copilot reviewed 4 out of 4 changed files in this pull request and generated no suggestions.
That's doable, but this breaking change is clearly necessary. |
Yup, I do feel this but as a library maintainer, I cannot. I am at fault, I should have made that as |
Fire this up so I can merge and cut a release. |
This changes the behavior of the automatic usage of the
CookieStore
to avoid overwriting already-setCookie
s and, instead only sets them if they do not exist yet.Closes #1964