datacontract / datacontract-cli

CLI to manage your datacontract.yaml files
https://cli.datacontract.com
Other
484 stars 94 forks source link

Feature/avro export enum support #397

Closed cners-follett closed 2 months ago

cners-follett commented 3 months ago

When importing an avro file, we noticed the name attribute from the enum (previously implemented) wasn't being respected. Small code adjustment for that, as well as setting test expectations accordingly.

Also added support of enum on export. Previously, if you had an enum declared, upon export, it would look like this: image

After: yaml: image avsc: image

jochenchrist commented 2 months ago

LGTM, Thanks for your contribution!