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
With the introduction of #237 , we have made all the generated spec.forProvider fields which are also spec.initProvider fields non-required in the schema, as they can be set either in one or the other. This means that there is no validation currently for these fields.
With CEL rules, we could make checks which validate if the field is set either in spec.forProvider or spec.initProvider. We already have such rules, but only for top level parameters, as they were introduced with ObserveOnly. Now we should go into nested structs, which makes the path generation for CEL a bit tricky.
The text was updated successfully, but these errors were encountered:
With the introduction of #237 , we have made all the generated
spec.forProvider
fields which are alsospec.initProvider
fields non-required in the schema, as they can be set either in one or the other. This means that there is no validation currently for these fields.With CEL rules, we could make checks which validate if the field is set either in
spec.forProvider
orspec.initProvider
. We already have such rules, but only for top level parameters, as they were introduced with ObserveOnly. Now we should go into nested structs, which makes the path generation for CEL a bit tricky.The text was updated successfully, but these errors were encountered: