graphql-introspection-filtering
graphql-introspection-filtering copied to clipboard
Async support
Hi,
I'm in a situation where I need to make calls to async functions from the visitFieldIntrospection
method, for a given directive, and I'm noticing that when I return a Promise<boolean>
from the method, it does not filter the introspection query the way I intended.
Is there an existing workaround for this, or any plans to add support for handling promises, like this?
Thanks for a great library!