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
Objects which inherit properties from compositions validate correctly during object instantiation. If the object is generated with setters the setters don't perform validations according to the composition rules.
Expected behaviour
Simple validations on properties inherited from compositions (eg. string length checks) are performed when calling a setter
If the model, as a result of the changed internal state, violates the composition rule (eg. an allOf composition is violated as the string property now doesn't match the length constraint and thus at least one of the composition elements fails) an exception will be thrown.
The text was updated successfully, but these errors were encountered:
Problem
Objects which inherit properties from compositions validate correctly during object instantiation. If the object is generated with setters the setters don't perform validations according to the composition rules.
Expected behaviour
The text was updated successfully, but these errors were encountered: