Tirraa / dashboard_rtm

dashboard_rtm
MIT License
5 stars 1 forks source link

[Prebuilder][Correctness] Generate empty types datas when using `--no-option` flags #72

Closed gustaveWPM closed 7 months ago

gustaveWPM commented 7 months ago

Currently, disabling a tool just totally skips its taxonomy validation and codegen. However, this will cause issues with the types helpers, narrowing the codegen.

It seems wise to be less aggressive on the disabled options handling, properly providing a fallback codegen which will cause the types helpers to be evaluated as never, without imports errors.

gustaveWPM commented 7 months ago

Fixed in https://github.com/Tirraa/dashboard_rtm/commit/af42915af3583aa7b0424d6d7581950942823b85