-
Notifications
You must be signed in to change notification settings - Fork 60
Migrating to System.Text.Json #176
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
68146c3
WIP migrating to System.Text.Json
xperiandri 4521376
Merge branch 'net5' into 'system_text_json'
sergey-tihon 1dbc19c
ci for pr to net5
sergey-tihon ed812a1
naive fix for provided .ctors
sergey-tihon ac94419
uses JsonFSharpConverter on the server
sergey-tihon fb12c65
fix for byte[] serialization =( https://stackoverflow.com/questions/6…
sergey-tihon cc1869a
removed dependency on System.Net.Http.Json
sergey-tihon 88c7b3f
default config for JsonFSharpConverter
sergey-tihon 8459021
Fixed generation of constructors with optional parameters
xperiandri 1046318
Added ability to run Expecto tests from Visual Studio
xperiandri 4e002c9
Removed unnecessary reference from tests
xperiandri 06654ed
Fixed client constructor parameters
xperiandri d30b8ca
enable v2 & v3 schema generation - https://github.com/domaindrivend…
sergey-tihon b39696f
explicit error on args mismatch
sergey-tihon f4f8838
enable SwaggerProvider tests
sergey-tihon 61e3306
fix SwaggerProvider tests
sergey-tihon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ on: | |
| pull_request: | ||
| branches: | ||
| - master | ||
| - net5 | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| File:ProvidedTypes.fsi | ||
| File:ProvidedTypes.fs | ||
| File: ProvidedTypes.fsi | ||
| File: ProvidedTypes.fs | ||
| File: Pluralizer.fs | ||
| File: NameUtils.fs | ||
|
|
||
| FSharp.Core | ||
|
|
||
| System.Net.Http | ||
| Newtonsoft.Json | ||
| System.Text.Json | ||
| Microsoft.OpenApi.Readers | ||
|
|
||
| YamlDotNet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need 3 explicitly referenced packages here?
can we reference only
FSharp.SystemTextJson?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought that we will use JSON extensions to
HttpClientandHttpResponseMessageThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose we can