UNPKG

@graphql-codegen/plugin-helpers

Version:
3 lines (2 loc) 160 B
import { getDocumentNodeFromSchema, memoize1 } from '@graphql-tools/utils'; export const getCachedDocumentNodeFromSchema = memoize1(getDocumentNodeFromSchema);