graphql-compose-mongoose
graphql-compose-mongoose copied to clipboard
Fields on _operators are lost on child resolvers when using discriminators
As posted on issue #390
When using discriminators the prepareChildResolver process (copyResolverArgTypes) will treat _operators, AND and OR as fields and call extendField from the baseResolver args to the childResolver args. This will overwrite the contents of these fields removing any specialisation found in the child resolver.