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
{{ message }}
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.
Related to #146 I'd like to extend our traverser to have a certain set of directives like the one proposed in the issue @extra. When passed to the cacheExchange it would automatically stop at these directives, strip them out and execute a callback allowing you to return an altered operation, ....
This would for example allow you to add more variables, allow the populateExchange to become a HOC passed into this object.
Are there any specific decorators that can't be resolved before/after the cache?
No but I'm trying to find a middle ground on this. Much like for instance redux has middlewares it could be used to make our cache smarter (and we need to solve the issue anyway so I thought let's look for a very extendable solution)
Idea
Related to #146 I'd like to extend our
traverser
to have a certain set of directives like the one proposed in the issue@extra
. When passed to thecacheExchange
it would automatically stop at these directives, strip them out and execute a callback allowing you to return an altered operation, ....This would for example allow you to add more variables, allow the
populateExchange
to become a HOC passed into this object.Rough example
This is very rough and I'll most likely alter this when hacking on it but I would like to send this in to get some more idea's
The text was updated successfully, but these errors were encountered: