Skip to content
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

Allow responding with named MessagePack data. #19

Closed
wants to merge 1 commit into from
Closed

Allow responding with named MessagePack data. #19

wants to merge 1 commit into from

Conversation

Artemis21
Copy link

Closes rwf2#2107. See also rwf2#1882.

This implementation does not change the default, but notes in the docs that users should pick an explicit option to allow for the default changing in the future.

Also, const generics are used to avoid having to duplicate implementations which would be the same for both named and compact representations. Arguably this does not provide the best user ergonomics, so let me know if you'd prefer a different implementation.

@Artemis21
Copy link
Author

Ah I did not notice there were two repos - should I have sent this to SergioBenitez/Rocket instead?

@Artemis21
Copy link
Author

Closing since I seem to have used the wrong repo. Feel free to reopen if I am mistaken.

@Artemis21 Artemis21 closed this Jun 18, 2023
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.

Allow named msgpack serialization
1 participant