refactor(test): remove the datahub-frontend.graphql (#3193)

This commit is contained in:
Aikepaer Abuduweili 2021-09-03 15:17:14 -07:00 committed by GitHub
parent d1c66167fa
commit 13d62806bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,11 +4,9 @@ import gql from 'graphql-tag';
import { buildASTSchema } from 'graphql';
const gmsSchema = loader('../../../datahub-graphql-core/src/main/resources/gms.graphql');
const feSchema = loader('../../../datahub-frontend/conf/datahub-frontend.graphql');
const graphQLSchemaAST = gql`
${gmsSchema}
${feSchema}
`;
export const graphQLSchema = buildASTSchema(graphQLSchemaAST);