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