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 setting msgpack struct tag #69

Open
fridolin-koch opened this issue Sep 8, 2021 · 0 comments
Open

Allow setting msgpack struct tag #69

fridolin-koch opened this issue Sep 8, 2021 · 0 comments

Comments

@fridolin-koch
Copy link
Contributor

fridolin-koch commented Sep 8, 2021

What do you think about adding an option to change the default msgpack struct tag? https://msgpack.uptrace.dev/#using-json-struct-tags

That would make it possible to change the struct tag without duplicating the whole marshal/unmarshal logic. Maybe a configuration option CodecStructTag or MarshalStructTag or just MsgpackStructTag

Thanks!

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

No branches or pull requests

1 participant