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
While trying to update a CreateOnlyProperty on the update contract, the expectation is to get the following error:
AssertionError: Any createOnlyProperties specified in update handler input MUST NOT be different from their previous state
When the CreateOnlyProperty is an object and one of its fields was modified in the update contract I'm getting the following error:
AssertionError: All properties specified in the request MUST be present in the model returned, and they MUST match exactly, with the exception of properties defined as writeOnlyProperties in the resource schema
updating a primitive property (e.g. string) for example:
While trying to update a CreateOnlyProperty on the update contract, the expectation is to get the following error:
AssertionError: Any createOnlyProperties specified in update handler input MUST NOT be different from their previous state
When the CreateOnlyProperty is an object and one of its fields was modified in the update contract I'm getting the following error:
AssertionError: All properties specified in the request MUST be present in the model returned, and they MUST match exactly, with the exception of properties defined as writeOnlyProperties in the resource schema
updating a primitive property (e.g. string) for example:
will lead to the expected error.
updating an object property field for example:
in case the update contract updates "a" or "b" the second error is issued.
The text was updated successfully, but these errors were encountered: