Replies: 1 comment
-
|
I'm not sure I understand. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to add a property to
selectRequestStatusthat returns the key that was updated?Then we could do something like this without having to subscribe to individual entities
store.update(updateRequestStatus('todo-1', status: 'success', {groupKey: 'todos'}));Then subscribe to this:
todoStatus$ = store.pipe(selectRequestStatus({ groupKey: 'todos' }));or
todoStatus$ = store.pipe(selectRequestStatus('todos'));which would return
{ value: 'success', key: 'todo-1' }Beta Was this translation helpful? Give feedback.
All reactions