mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-09 17:58:03 +00:00
13 lines
320 B
TypeScript
13 lines
320 B
TypeScript
![]() |
import { loader } from 'graphql.macro';
|
||
|
|
||
|
import gql from 'graphql-tag';
|
||
|
import { buildASTSchema } from 'graphql';
|
||
|
|
||
|
const gmsSchema = loader('../../../datahub-graphql-core/src/main/resources/gms.graphql');
|
||
|
|
||
|
const graphQLSchemaAST = gql`
|
||
|
${gmsSchema}
|
||
|
`;
|
||
|
|
||
|
export const graphQLSchema = buildASTSchema(graphQLSchemaAST);
|