weaverbird icon indicating copy to clipboard operation
weaverbird copied to clipboard

Replace the BackendService Plugin by an injected method

Open rhuille opened this issue 4 years ago • 0 comments

I / Remove fetchCollections method

BackendService has 2 methods:

  • executePipeline
  • fetchCollections

Only executePipeline is useful, fetchCollections should be removed

|| / Replace the store.subscribe by a store.watch on registerModule

https://github.com/ToucanToco/weaverbird/blob/master/src/store/backend-plugin.ts#L110

III / Inject the executePipeline as an action store

[WIP]

Technically, how should we do that ?

rhuille avatar Jul 03 '20 13:07 rhuille