grafana / cuetsy

Experimental CUE->TypeScript exporter
Apache License 2.0
106 stars 8 forks source link

Allow set type defaults when override a parent value #89

Closed spinillos closed 1 year ago

spinillos commented 1 year ago

Fixes type case from this issue: https://github.com/grafana/schematization-and-as-code-project/issues/56

It changes the way to set defaults like enums using #Type & (*"value" | _).