@graphql-mesh/utils
Version:
7 lines (6 loc) • 309 B
text/typescript
import type { ASTNode, GraphQLSchema } from 'graphql';
import type { DirectiveAnnotation } from '@graphql-tools/utils';
export declare function getDefDirectives(schema: GraphQLSchema, { astNode, extensions }: {
astNode?: ASTNode | null;
extensions?: any;
}, subgraph?: string): DirectiveAnnotation[];