You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
volume_profiling_flag:
help: Whether to enable/disable/leave as-is volume profilingtype: String
Let us start adding support for more complex validations, possibly under a validations key.
For example, in the above example, we should have the volume_profiling_flag attribute as a String, as well as one-of-n values.
It is up for discussion if we want to repeat the type: String in the validation as well. I would suggest being explicit, because we may have an attribute that needs to be casted if present, but not validated.
The text was updated successfully, but these errors were encountered:
Currently in
commons/tendrl/commons/objects/definition/master.yaml
Line 268 in 43d544d
an attribute would have a
help
and atype
.Let us start adding support for more complex validations, possibly under a
validations
key.For example, in the above example, we should have the
volume_profiling_flag
attribute as a String, as well as one-of-n values.How about something like this:
It is up for discussion if we want to repeat the
type: String
in the validation as well. I would suggest being explicit, because we may have an attribute that needs to be casted if present, but not validated.The text was updated successfully, but these errors were encountered: