datacontract / datacontract-cli

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

fix: default `precision` and `scale` parameters for `DecimalType` #450

Closed FredrikBakken closed 1 month ago

FredrikBakken commented 1 month ago

In a previous PR (https://github.com/datacontract/datacontract-cli/pull/419), I did not consider the case where precision and scale are not provided in the data contract. This change allows defining type: decimal without adding precision and/or scale values.

jochenchrist commented 1 month ago

Thanks for your contribution. Have a look at the comment.