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
it is possible to create an entity with the json data :
{ "firstName": "alex", "lastName" : "test"}
However, the entity will be in a very inconsistent state. A more appropriate behaviour would be to reproduce the logic in EntityMap.createEntityUsingConstructor, ie preventing creation of entity if no matching constructor is found.
The text was updated successfully, but these errors were encountered:
createEntityFromJson allows you construct entity with missing "required" fields in the JSON
For instance given the following model :
it is possible to create an entity with the json data :
However, the entity will be in a very inconsistent state. A more appropriate behaviour would be to reproduce the logic in
EntityMap.createEntityUsingConstructor
, ie preventing creation of entity if no matching constructor is found.The text was updated successfully, but these errors were encountered: