We should enforce enums fields like the loading state in the dashboard kind. The provider should return an error before running apply if the user enters a value that is outside of the list of authorized values.
This could be done using attribute validation or (maybe) by creating custom types for every subtype we need to handle (StringEnumType, IntEnumType...).
We should enforce enums fields like the loading state in the dashboard kind. The provider should return an error before running apply if the user enters a value that is outside of the list of authorized values.
This could be done using attribute validation or (maybe) by creating custom types for every subtype we need to handle (StringEnumType, IntEnumType...).