Skip to content
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

Fix deserialization exception when retrieving cookie with PartitionKey set #2783

Merged
merged 4 commits into from
Sep 19, 2024

Conversation

AlexCSDev
Copy link
Contributor

At some point CookieParam.PartitionKey became an object in DevTools protocol. This causes deserialization exception because it is currently defined as a string in puppeteer-sharp. This PR implements necessary changes to fix that.

@kblok
Copy link
Member

kblok commented Sep 18, 2024

Thanks for jumping in @AlexCSDev.
Do you mind matching this change upstream?

@AlexCSDev
Copy link
Contributor Author

I don't have much experience working with System.Text.Json, but I figured writing JsonConverter for this fix will be a decent solution?

I must mention that I did not test writing as I don't have any way of testing that quickly.

@kblok kblok merged commit e14f59d into hardkoded:master Sep 19, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants