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

Consuming JSON For Tests and Converting To Protoc #245

Open
uponone opened this issue Dec 19, 2023 · 1 comment
Open

Consuming JSON For Tests and Converting To Protoc #245

uponone opened this issue Dec 19, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation

Comments

@uponone
Copy link

uponone commented Dec 19, 2023

Sorry if this is not the correct place for this question.

I have a need to consume a source DB table data to JSON, convert it to Proto and send it over the wire. I'm not sure if I missed a step, but if I have an enum with the string literal defined in the JSON the BinaryWriter chokes on it. Having the numeric value in the JSON it converts fine and the BinaryWriter does fail. Is there an example you can point to on how to properly consume JSON with string literals as the enum value?

@thesayyn
Copy link
Owner

thesayyn commented Mar 1, 2024

This should be fixed now in rust implementation. Can you try with the new plugin? #255

@thesayyn thesayyn added the documentation Improvements or additions to documentation label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants