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
fix(Entity): Change EntityAdapter upsertOne/upsertMany to accept an entity
BREAKING CHANGE:
The signature of the upsertOne/upsertMany functions in the EntityAdapter
has been changed to accept a fully qualified entity instead of an update
object that implements the Update<T> interface.
Before:
```
entityAdapter.upsertOne({
id: 'Entity ID',
changes: { id: 'Entity ID', name: 'Entity Name' },
}, state);
```
After:
```
entityAdapter.upsertOne({
id: 'Entity ID',
name: 'Entity Name',
}, state);
```
0 commit comments