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

chore(generator): Response and Request #1270

Merged
merged 3 commits into from
Mar 11, 2021
Merged

chore(generator): Response and Request #1270

merged 3 commits into from
Mar 11, 2021

Conversation

avodovnik
Copy link
Contributor

No description provided.

src/PlaywrightSharp/ResourceType.cs Show resolved Hide resolved
src/PlaywrightSharp/Contracts/IRequest.generated.cs Outdated Show resolved Hide resolved
src/PlaywrightSharp/Contracts/IResponse.generated.cs Outdated Show resolved Hide resolved
Comment on lines 88 to 89
/// <summary><para>Gets the <see cref="System.Net.HttpStatusCode"/> code of the response.</para></summary>
System.Net.HttpStatusCode StatusCode { get; }
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this go in a different file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's auto-generated now :-) See same upstream PR: microsoft/playwright#5763

@@ -71,7 +71,6 @@ internal static JsonSerializerOptions GetNewDefaultSerializerOptions(bool ignore
IgnoreNullValues = ignoreNullValues,
Converters =
{
new FlexibleStringEnumConverter<ResourceType>(ResourceType.Unknown),
Copy link
Contributor

Choose a reason for hiding this comment

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

I bet we would still need this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not for ResourceType though. It's removed.

@avodovnik avodovnik requested a review from kblok March 10, 2021 18:07
@avodovnik avodovnik merged commit 6bd24d1 into microsoft:main Mar 11, 2021
@avodovnik avodovnik deleted the dev/anvod/gen/request branch May 20, 2021 15:25
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