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

Fixed Bug 59396 for Camel/Compliant casing. #59545

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shethaadit
Copy link
Contributor

Fixed Bug 59396 for Camel/Compliant casing.

Description

Fixed Bug 59396 for Camel/Compliant casing.

Fixes #59396

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions label Dec 18, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Dec 18, 2024
Copy link
Member

@captainsafia captainsafia left a comment

Choose a reason for hiding this comment

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

Thanks for opening this PR!

We'll need to add tests in ProblemDetailsDefaultWriterTest.cs and resolve the build error.

@captainsafia captainsafia added the pr: pending author input For automation. Specifically separate from Needs: Author Feedback label Dec 18, 2024
Copy link
Member

@captainsafia captainsafia left a comment

Choose a reason for hiding this comment

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

Thanks for adding the tests...although it looks like they've introduced build errors.

Have you run these tests locally?

@@ -503,6 +504,10 @@ public async Task WriteAsync_AddExtensions_WithJsonContext()
var options = new JsonOptions();
options.SerializerOptions.TypeInfoResolver = JsonTypeInfoResolver.Combine(CustomProblemDetailsContext.Default, ProblemDetailsJsonContext.Default);

var mockNamingPolicy = new Mock<JsonNamingPolicy>();
Copy link
Member

Choose a reason for hiding this comment

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

Instead of modifying the existing tests, can we add a new one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @captainsafia, My local is somehow not working properly and studio is not giving errors. I may need to reinstall devbox.

Since I am traveling somewhere for few days, I would really appreciate if you can help adding dependencies as they are only missing. That can complete the PR and issue. Please let me know. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions community-contribution Indicates that the PR has been added by a community member pr: pending author input For automation. Specifically separate from Needs: Author Feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem Details camel case RFC 7807 "compliant casing"
2 participants