Skip to content

Commit d8b07ad

Browse files
committed
Apply additional type from schema import selector
1 parent 35dc32a commit d8b07ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoconfigure/src/main/java/com/introproventures/graphql/jpa/query/autoconfigure/GraphQLSchemaBuilderAutoConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ GraphQLJpaSchemaBuilder defaultGraphQLJpaSchemaBuilder(
126126
.toManyDefaultOptional(properties.isToManyDefaultOptional())
127127
.enableRelay(properties.isEnableRelay());
128128

129-
EnableGraphQLJpaQuerySchemaImportSelector.getPackageNames().stream().forEach(builder::entityPath);
129+
EnableGraphQLJpaQuerySchemaImportSelector.getPackageNames().stream().forEach(builder::additionalType);
130130

131131
restrictedKeysProvider.ifAvailable(builder::restrictedKeysProvider);
132132

0 commit comments

Comments
 (0)