graphql-introspection-filtering icon indicating copy to clipboard operation
graphql-introspection-filtering copied to clipboard

Async support

Open trickleup opened this issue 4 years ago • 0 comments

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!

trickleup avatar Mar 18 '20 19:03 trickleup