Wrapper around injectQuery
Has anyone been able to create a wrapper around injectQuery?
I want to extend the query so that it has some more methods.
Doing a simple shallow copy of the query works well:
But as soon as I add a simple method, the type predicates just seems to be broken:
I want to extend the query so that it has some more methods.
Doing a simple shallow copy of the query works well:
But as soon as I add a simple method, the type predicates just seems to be broken: