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
Hi @juancampuzano, EntityStore in general accepts any implementation of EntityProvider. You can simply initiate entity store 2 times. One with InMemory and another with JsonApi. Just allow your application store accept an instance of EntityProvider and pass it to the parent constructor.
const inMemoryStore = new AppStore(new InMemoryEntityProvider());
const jsonApiStore = new AppStore(new JsonApiEntityProvider());
EntityStore base class also contains optional second argument - type manager instance. But until there is no overlap in configuration or requirement to have configuration groups - it is not required.
How can I use multiple providers, for example
InMemoryandJsonApi?