Skip to content

Commit 1e8f034

Browse files
authored
Allow customizing attribute types (#282)
1 parent aeb8766 commit 1e8f034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphql-jpa-query-schema/src/main/java/com/introproventures/graphql/jpa/query/schema/impl/GraphQLJpaSchemaBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ private GraphQLOutputType getAttributeOutputType(Attribute<?,?> attribute) {
10381038
}
10391039

10401040
@SuppressWarnings( "rawtypes" )
1041-
private GraphQLType getAttributeType(Attribute<?,?> attribute, boolean input) {
1041+
protected GraphQLType getAttributeType(Attribute<?,?> attribute, boolean input) {
10421042

10431043
if (isBasic(attribute)) {
10441044
return getGraphQLTypeFromJavaType(attribute.getJavaType());
@@ -1474,4 +1474,4 @@ public RestrictedKeysProvider getRestrictedKeysProvider() {
14741474
return restrictedKeysProvider;
14751475
}
14761476

1477-
}
1477+
}

0 commit comments

Comments
 (0)