FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

ASP.NET Core improvements by vzabrodin · Pull Request #1512 · MessagePack-CSharp/MessagePack-CSharp · GitHub

ASP.NET Core improvements - #1512

Merged
neuecc merged 2 commits into
MessagePack-CSharp:masterfrom
vzabrodin:asp-net-core-improvements
Oct 6, 2022
Merged

neuecc merged 2 commits into
MessagePack-CSharp:masterfrom
vzabrodin:asp-net-core-improvements

Conversation

Copy link
Copy Markdown
Contributor

context.ObjectType can be null in some cases. For example when context.Object is null.
Nullish object type could be passed to MessagePackSerializer.Serialize() method which cause exception.

I have added context.ObjectType == null condition. In this case object type will be taken directly from object: context.Object.GetType()

neuecc commented Oct 6, 2022

Copy link
Copy Markdown
Member

Thanks, completely good.

neuecc merged commit 8a149fe into MessagePack-CSharp:master Oct 6, 2022
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
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.

2 participants


Back | FazBrowse Home | New Git URL