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
The documentation indicates that state.bees should be considered internal/private and that data should be accessed from it via selector methods. In our use case, we need an entity of a specific type but don't know the ID (i.e. it's the "current user" resource, which we get via an endpoint called /jsonapi/me), so we need the ability to get all of the "current_user" entities that have been retrieved.
Unfortunately, the getEntity() method requires both a type and ID in the handle. So, for now, I'm having to write my own selector method to pull the entity directly out of state.bees.entities.
The text was updated successfully, but these errors were encountered:
The documentation indicates that
state.bees
should be considered internal/private and that data should be accessed from it via selector methods. In our use case, we need an entity of a specific type but don't know the ID (i.e. it's the "current user" resource, which we get via an endpoint called/jsonapi/me
), so we need the ability to get all of the "current_user" entities that have been retrieved.Unfortunately, the
getEntity()
method requires both a type and ID in the handle. So, for now, I'm having to write my own selector method to pull the entity directly out ofstate.bees.entities
.The text was updated successfully, but these errors were encountered: