Skip to content

Conversation

@rose-a
Copy link
Collaborator

@rose-a rose-a commented Mar 20, 2020

fixes #188

});
UseWebSocketForQueriesAndMutations = requestsViaWebsocket
},
serializer ?? new NewtonsoftJsonSerializer());
Copy link
Member

Choose a reason for hiding this comment

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

Do you have tests for STJ serializer?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes, there is always an abstract base class containing the tests and a specific testclass for each serializer (currently Newtonsoft and System.Text.Json)

@rose-a
Copy link
Collaborator Author

rose-a commented Mar 21, 2020

I think this requires a bump of the major version of this library (as it's a breaking change)...

@sungam3r Whats your opinion on this?

@sungam3r
Copy link
Member

Yes. Personally I am OK with breaking changes.

@rose-a rose-a merged commit 6e38798 into develop Mar 23, 2020
@rose-a rose-a deleted the remove-default-serializer branch March 26, 2020 10:30
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.

Remove default JsonSerializer and require explicit configuration

3 participants