Skip to content

Rename ConfigureRouteHandlerJsonOptions to ConfigureHttpJsonOptions#42747

Merged
captainsafia merged 2 commits into
mainfrom
cs/rename-options-config
Jul 19, 2022
Merged

Rename ConfigureRouteHandlerJsonOptions to ConfigureHttpJsonOptions#42747
captainsafia merged 2 commits into
mainfrom
cs/rename-options-config

Conversation

@captainsafia
Copy link
Copy Markdown
Contributor

Closes #42718.

@captainsafia captainsafia requested a review from a team July 15, 2022 18:58
@ghost ghost added the area-runtime label Jul 15, 2022
@captainsafia captainsafia added old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels and removed area-runtime labels Jul 18, 2022
@captainsafia captainsafia force-pushed the cs/rename-options-config branch from daf0e12 to 0d94ead Compare July 19, 2022 00:38
Copy link
Copy Markdown
Member

@BrennanConroy BrennanConroy left a comment

Choose a reason for hiding this comment

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

/// The options configured here will only affect JSON returned and processed
/// from route handlers

/// Configures options used for reading and writing JSON by route handlers.

Do these doc comments need to be updated? The main point of this change is it's not specific to route handlers.

@captainsafia
Copy link
Copy Markdown
Contributor Author

Sure! How does this sound?

    /// <summary>
    /// Configures options used for reading and writing JSON  when using
    /// <see cref="O:Microsoft.AspNetCore.Http.HttpRequestJsonExtensions.ReadFromJsonAsync" />
    /// and <see cref="O:Microsoft.AspNetCore.Http.HttpResponseJsonExtensions.WriteAsJsonAsync" />.
    /// </summary>

@captainsafia captainsafia enabled auto-merge (squash) July 19, 2022 17:29
@captainsafia captainsafia merged commit f5108d8 into main Jul 19, 2022
@captainsafia captainsafia deleted the cs/rename-options-config branch July 19, 2022 19:01
@ghost ghost added this to the 7.0-rc1 milestone Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ConfigureRouteHandlerJsonOptions naming

2 participants