Closed kachnitel closed 4 years ago
The store knows its own entity type, singleton doesn't need to know it and pass it back in constructor.
constructor (provider, EntityClass, applicationStore: ApplicationStore) { super(provider, EntityClass)
constructor (provider, applicationStore: ApplicationStore) { super(provider, User)
Working, but jest fails:
should move ID from requests to friends Trying to get entity User:undefined before it is initialized
getting currentUser
currentUser
Done: c128b03
The store knows its own entity type, singleton doesn't need to know it and pass it back in constructor.
Working, but jest fails:
getting
currentUser