-
Notifications
You must be signed in to change notification settings - Fork 305
Persister & Fetcher accessable in Store-Interface #291
Comments
There is an interface InternalStore, you can expose those getters as public from RealInternalStore and then cast your store. Pr welcome 🙂 |
How can I access the persister than? 🤔 |
I've started with it at #301 As I already commented. The problem is that Either we add |
I think adding the two getters to Store would be simplest. Sorry for delay getting back to you 🙂 If you want to make it cleaner make a new store builder configuration called exposedStore. When that flag is set to true you can create an ExposedStore which is a subclass of store with the addl getters. Would that work? (on a plane and can't look around) |
Currently we developing some architecture we we put two stores and a fetcher into another class.
Which reads like that:
Which reads a little bit odd because the
notLivePersister
is already a part of thenotLiveStore
.So, what do you think to add
to the Store-Interface? 🤔
Maybe we can also add the Policy and the Parser, but that is not important as the two others IMO 😅
What do you think?
The text was updated successfully, but these errors were encountered: