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

[Infra] Translator: from Protocol Buffers language (proto3) to protopuf C++ code snippets #15

Open
PragmaTwice opened this issue Feb 28, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@PragmaTwice
Copy link
Owner

No description provided.

@PragmaTwice PragmaTwice added the enhancement New feature or request label Feb 28, 2021
@PragmaTwice PragmaTwice mentioned this issue Sep 7, 2022
@unicomp21
Copy link

In the meantime, I'm realizing another simple option could be json with typescript interfaces, to describe a schema? This can then be recursively walked to generate a .proto and the respective protopuf declarations? In other words, the json file becomes the "source of truth" from which everything else is generated.

@PragmaTwice
Copy link
Owner Author

Sure, but probably the biggest advantage of translating from protocol buffers language to protopuf c++ type definitions is that many existing .proto files can be reused, which would be lost in translating from json.

@unicomp21
Copy link

Absolutely, I was simply suggesting a workaround in the meantime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants