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

Feature request: configure fixint at the container level #95

Open
pwfff opened this issue Mar 12, 2023 · 2 comments
Open

Feature request: configure fixint at the container level #95

pwfff opened this issue Mar 12, 2023 · 2 comments

Comments

@pwfff
Copy link

pwfff commented Mar 12, 2023

Maybe this is possible already and my weak Rust is the only thing stopping me, but I'm wanting to basically always use the fixint option, and the with attribute is going to be half my codebase at this point :<

If the other side of my service wasn't a completely different language I'd prefer varint, but for now I'd rather opt out altogether if possible.

@pwfff
Copy link
Author

pwfff commented Mar 12, 2023

I gave it a shot :)
#96

@stblair-crystalpeak
Copy link

This would be a great feature, I'm also in a scenario where I need to apply fixint to every single int type for a particular struct that I'm serializing. It would be so much easier if you could either apply the with at the struct level, or just at the container level. I hope they get to this, or accept your feature PR :)

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

2 participants