diff --git a/.changeset/good-rocks-deny.md b/.changeset/good-rocks-deny.md new file mode 100644 index 000000000..e5998ae28 --- /dev/null +++ b/.changeset/good-rocks-deny.md @@ -0,0 +1,10 @@ +--- +"graphile-build": patch +--- + +Fix bug where creating the build object also initialized it; this is incorrect +since if you just want the build object you don't necessarily want to register +all of the GraphQL types (and potentially discover naming conflicts) at that +moment. Introduced new +`schemaBuilder.initBuild(schemaBuilder.createBuild(input))` API to explicitly +handle initing if you need an initialized build object.