grafana / cog

Code Generation with a human touch
Apache License 2.0
43 stars 2 forks source link

Missing defaults when are generated in types #565

Open spinillos opened 2 days ago

spinillos commented 2 days ago

Typescript, php and python generate the defaults inside in the "rawtypes" process instead of builders (like go or java). Both solutions work excepts on panels.

Examples of missing defaults: typescript, php, python Other languages: go, java

You can see that height and span aren't set in the panels, and the other ones for Options and FieldConfig aren't applied unless to set any of these values.