You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use the API to generate code instead of generating it through a plugin
What is the feature request for?
The core library
The Problem
Currently, I see that betterproto only offers a plugin-based generation method. data = b"" request = CodeGeneratorRequest() request.parse(data)
I have read the source code and need to construct the byte stream data for data, which is very difficult for me. Could you provide a simpler method for generating code using the API?
Summary
I want to use the API to generate code instead of generating it through a plugin
What is the feature request for?
The core library
The Problem
Currently, I see that betterproto only offers a plugin-based generation method.
data = b"" request = CodeGeneratorRequest() request.parse(data)
I have read the source code and need to construct the byte stream data for data, which is very difficult for me. Could you provide a simpler method for generating code using the API?
The Ideal Solution
such:
output = generate_code_with_proto(proto_file: Path)
The Current Solution
No response
The text was updated successfully, but these errors were encountered: