Skip to content

Move from Newtonsoft.Json to System.Text.Json#311

Draft
idg10 wants to merge 18 commits intovnextfrom
feature/system-text-json
Draft

Move from Newtonsoft.Json to System.Text.Json#311
idg10 wants to merge 18 commits intovnextfrom
feature/system-text-json

Conversation

@idg10
Copy link
Contributor

@idg10 idg10 commented Dec 7, 2022

No description provided.

@idg10 idg10 changed the base branch from main to vnext January 5, 2023 15:42
idg10 added 8 commits January 11, 2023 14:38
Whereas body responses of type string are double quoted because we are designing for a Content-Type of application/json (which requires the quotes to be present), string-typed header values in earlier versions of Menes have always been unquoted. (This is consistent with input handling where untyped inputs such as headers, cookies, and query string parameters do not use quotes when we want to handle the input as a string.)
WIP - done initial refactoring, and added types, but some are still placeholders requiring tests and implementation.
This adds an overload of the AddExternalServices method that let you pass an IConfiguration in directly, and marks the old one where it assumes it can dig IConfigurationRoot out of the dependencies as Obsolete.

Also added tests for whole external services functionality, since we didn't have any before.
Move SimpleOpenApiContext into common Menes.Hosting package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant