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

Params based AddCoogkies #1576

Closed
wants to merge 1 commit into from
Closed

Params based AddCoogkies #1576

wants to merge 1 commit into from

Conversation

SimonCropp
Copy link
Contributor

No description provided.

@@ -163,6 +163,17 @@ public partial interface IBrowserContext
/// </param>
Task AddCookiesAsync(IEnumerable<Cookie> cookies);

/// <summary>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The folder Generated should have given you an idea :-). I am not sure what the params implications are for versioning, but it is not options friendly anyways, so we won't be able to add optional options to this overload. It does not seem to be worth it in the general case.

@kblok
Copy link
Contributor

kblok commented Jun 20, 2021

That was an explicit decision when the surface was defined. I'm collecting contrib ideas. This is one of them hardkoded/playwright-sharp-contrib#16 .

@SimonCropp
Copy link
Contributor Author

ok will close for now

@SimonCropp SimonCropp closed this Jun 20, 2021
@SimonCropp SimonCropp deleted the AddCoogkiesParams branch June 20, 2021 22:15
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.

3 participants