diff --git a/packages/core/src/schema.ts b/packages/core/src/schema.ts index da2097a..017b712 100644 --- a/packages/core/src/schema.ts +++ b/packages/core/src/schema.ts @@ -6,8 +6,6 @@ import { unifyGraphQLSchemasObjects, } from "./schemaUtils"; -let schemas = []; - // extract everything between type Query {} const queryRegex = /type Query {([\s\S]*?)}/; const mutationRegex = /type Mutation {([\s\S]*?)}/; @@ -157,6 +155,4 @@ const fetchGraphQLEndpoint = async ( const getAuthorizationFromContext = (ctx) => { const authorization = ctx?.request?.headers?.get("authorization"); return authorization; -}; - -// export { schema }; +}; \ No newline at end of file