From 9ae14100c844f305c69a8dfc6b7836d0e9d857f1 Mon Sep 17 00:00:00 2001 From: Scott Twiname Date: Thu, 25 Jul 2024 11:25:23 +1200 Subject: [PATCH] Update changelog --- packages/cli/CHANGELOG.md | 2 ++ packages/utils/src/graphql/schema.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 58d41ac32b..7e2ff13179 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Added +- Subgraph graphql schema migration to the migrate command (#2499) ## [5.1.0] - 2024-07-11 ### Changed diff --git a/packages/utils/src/graphql/schema.ts b/packages/utils/src/graphql/schema.ts index 8ac8744089..563492e66f 100644 --- a/packages/utils/src/graphql/schema.ts +++ b/packages/utils/src/graphql/schema.ts @@ -6,7 +6,7 @@ import {buildASTSchema, DocumentNode, extendSchema, GraphQLSchema, parse, Source import {directives} from './schema/directives'; import {scalas} from './schema/scalas'; -export function loadBaseSchema(): GraphQLSchema { +function loadBaseSchema(): GraphQLSchema { const schema = buildASTSchema(scalas); return extendSchema(schema, directives); }