Skip to content

Fix the Json serializer issue in the client project#132

Closed
matthewjameslockwood wants to merge 4 commits intomarain-dotnet:masterfrom
matthewjameslockwood:feature/client-fix
Closed

Fix the Json serializer issue in the client project#132
matthewjameslockwood wants to merge 4 commits intomarain-dotnet:masterfrom
matthewjameslockwood:feature/client-fix

Conversation

@matthewjameslockwood
Copy link
Copy Markdown
Contributor

We found an issue with the Client yesterday afternoon after v0.3.0 was created.

The SetNotificationTemplate method in the Client was not serializing the WebPushTemplate object correctly. We've assumed it has something to do with it inheriting from ICommunicationTemplate.

This PR includes the following changes:

  • Use of an additional parameter for JsonSerializer.Serialize in the BuildRequest<T> method in the ClientBase class
  • Fixing client tests (some were not done correctly)
  • Changing comments in some client models

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 9, 2021

CLA assistant check
All committers have signed the CLA.

jongeorge1
jongeorge1 previously approved these changes Feb 9, 2021
@jongeorge1
Copy link
Copy Markdown
Contributor

Merged via #133

@jongeorge1 jongeorge1 closed this Feb 9, 2021
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.

4 participants