-
Notifications
You must be signed in to change notification settings - Fork 117
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
Protobuf to datacontract #660
base: main
Are you sure you want to change the base?
Conversation
Code for proto to datacontract
Hi @ReshuVishwakarma , thanks for contributing. Before accepting this PR, please make sure to follow the conventions of the other Importers (e.g., https://github.com/datacontract/datacontract-cli/blob/main/datacontract/imports/avro_importer.py) and implement the abstract Importer class. |
Hi @jochenchrist updated the code: subclassed the abstract Importer. |
There is an exporter for protobuf as well. You could have a look so the import and export do not work differently in regards to the field mapping. |
|
||
package example; | ||
|
||
message Product { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A test with all scalar, complex and array types would be nice
Code for proto to datacontract