Skip to content

Commit 5f2d53f

Browse files
authored
Merge pull request #183 from govindm/master
copy the code registry added in v12
2 parents 4c682f2 + 9f87f31 commit 5f2d53f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/graphql/servlet/GraphQLSchemaProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public interface GraphQLSchemaProvider {
1010
static GraphQLSchema copyReadOnly(GraphQLSchema schema) {
1111
return GraphQLSchema.newSchema()
1212
.query(schema.getQueryType())
13+
.codeRegistry(schema.getCodeRegistry())
1314
.subscription(schema.getSubscriptionType())
1415
.additionalTypes(schema.getAdditionalTypes())
1516
.build();

0 commit comments

Comments
 (0)