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
In the projects where I use Groot, very often I need to update existing objects that has not (yet) a primary key using a given JSON.
As an example, let's think I can create a Character from my app and send to my server. The Character I created has not a primary key, because that key is provided by the server after being pushed. It would be great if once the Character is pushed I can use the response from my server to update it:
I usually solve it by creating a NSManagedObject category that provides this functionality, basically exposing one private method. I wonder if it would make sense adding such functionality to the official release. If so, I could prepare a pull request.
Any thoughts?
The text was updated successfully, but these errors were encountered:
Hi,
In the projects where I use Groot, very often I need to update existing objects that has not (yet) a primary key using a given JSON.
As an example, let's think I can create a
Character
from my app and send to my server. TheCharacter
I created has not a primary key, because that key is provided by the server after being pushed. It would be great if once theCharacter
is pushed I can use the response from my server to update it:I usually solve it by creating a
NSManagedObject
category that provides this functionality, basically exposing one private method. I wonder if it would make sense adding such functionality to the official release. If so, I could prepare a pull request.Any thoughts?
The text was updated successfully, but these errors were encountered: