Skip to content

Add docs for MessagePack #21090

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 14 commits into from
Jan 8, 2021
Merged

Add docs for MessagePack #21090

merged 14 commits into from
Jan 8, 2021

Conversation

wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Dec 31, 2020

@@ -172,6 +192,30 @@ InvalidDataException: Error binding arguments. Make sure that the types of the p

For more information on this limitation, see GitHub issue [aspnet/SignalR#2937](https://github.com/aspnet/SignalR/issues/2937).

### Passing Class information in Java
Copy link
Member

Choose a reason for hiding this comment

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

This isn't specific to MessagePack is it?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, but it's only required in MessagePack, JSON still works without it. I could move this to java-client.md and call out the differences there.

Copy link
Member

Choose a reason for hiding this comment

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

How does JSON manage to work without it given the type erasure? It's also probably worth pointing out type erasure is the reason a TypeReference is necessary.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, you're right, I was remembering wrong - JSON had the same issue with more complex types but we hadn't noticed before. I'll move this segment & expand it now.

Copy link
Member Author

Choose a reason for hiding this comment

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

wtgodbe and others added 8 commits January 4, 2021 10:11
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
wtgodbe and others added 2 commits January 5, 2021 13:03
Co-authored-by: Stephen Halter <halter73@gmail.com>
@halter73
Copy link
Member

halter73 commented Jan 5, 2021

Once https://docs.microsoft.com/en-us/java/api/com.microsoft.signalr?view=aspnet-signalr-java is updated for 5.0, we should link to the TypeReference docs from here.

@halter73
Copy link
Member

halter73 commented Jan 5, 2021

@BrennanConroy @Rick-Anderson What do we have to do to update the SignalR Java client API docs for 5.0?

Co-authored-by: Stephen Halter <halter73@gmail.com>
@Rick-Anderson
Copy link
Contributor

@BrennanConroy @Rick-Anderson What do we have to do to update the SignalR Java client API docs for 5.0?

@scottaddie ?

@wtgodbe wtgodbe merged commit 891c8e1 into master Jan 8, 2021
@wtgodbe wtgodbe deleted the wtgodbe/MessagePack branch January 8, 2021 00:08
@wtgodbe wtgodbe mentioned this pull request Jan 8, 2021
halter73 added a commit that referenced this pull request Jan 14, 2021
* Add docs for MessagePack

* Triple up

* Update messagepackhubprotocol.md

* Update aspnetcore/signalr/messagepackhubprotocol.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* Update aspnetcore/signalr/messagepackhubprotocol.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* Update aspnetcore/signalr/messagepackhubprotocol.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* Update aspnetcore/signalr/messagepackhubprotocol.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* Update aspnetcore/signalr/messagepackhubprotocol.md

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>

* Feedback 1

* More feedback

* Move TypeReference info to Java-client.md

* Update aspnetcore/signalr/java-client.md

Co-authored-by: Stephen Halter <halter73@gmail.com>

* Feedback

* Update aspnetcore/signalr/java-client.md

Co-authored-by: Stephen Halter <halter73@gmail.com>

Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
Co-authored-by: Stephen Halter <halter73@gmail.com>
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.

5.0 docs: MessagePack support in SignalR Java client
6 participants