Updating entity is losing data that is not mapped on entity fields #39
Unanswered
rafaelpolonio92
asked this question in
Q&A
Replies: 1 comment
-
Can you share some of the code that you are using? This way I could reproduce 😄 edit: I assume you need to use Entity.update method and it should work (Entity.put will override other properties) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Sample Entity that contains the field "Name"and "Last Name"
But on my databawe, the json data also has a field "gender" that is not explicity declared on my entity
When i update this record, the "gender" field disappear
How can i avoid this without needing to map all the possible fields on the entity?
Beta Was this translation helpful? Give feedback.
All reactions