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
I am able to insert child Author to the Post. However I have a case where I am inserting the author if it's doesn't exist inside the Post and if existing I want to update these specific Author(s) with the value (basically an upsertMany or upsert). Today when using AddChildData the value is updated however the normalised reference is inserted 2 times (Eg. In post I got author[132,132]).
The question shouldn't be useful to have an uspertMany an upsert function?
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
I have trouble using the library for the following case. When using entities I have access to the createEntityAdapter upsert and uspertMany.
Scenario:
I am able to insert child Author to the Post. However I have a case where I am inserting the author if it's doesn't exist inside the Post and if existing I want to update these specific Author(s) with the value (basically an upsertMany or upsert). Today when using AddChildData the value is updated however the normalised reference is inserted 2 times (Eg. In post I got author[132,132]).
The question shouldn't be useful to have an uspertMany an upsert function?
Thank you
The text was updated successfully, but these errors were encountered: