You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graphql-jpa-query-autoconfigure/src/main/java/com/introproventures/graphql/jpa/query/autoconfigure/GraphQLJpaQueryProperties.java
+15
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,11 @@ public class GraphQLJpaQueryProperties {
46
46
*/
47
47
privatebooleanisDefaultDistinct = true;
48
48
49
+
/**
50
+
* Set default value for optional argument for join fetch collections.
Copy file name to clipboardExpand all lines: graphql-jpa-query-autoconfigure/src/test/java/com/introproventures/graphql/jpa/query/autoconfigure/GraphQLSchemaAutoConfigurationTest.java
Copy file name to clipboardExpand all lines: graphql-jpa-query-example-model-books/src/main/java/com/introproventures/graphql/jpa/query/schema/model/book/Genre.java
Copy file name to clipboardExpand all lines: graphql-jpa-query-schema/src/main/java/com/introproventures/graphql/jpa/query/schema/impl/GraphQLJpaOneToManyDataFetcher.java
Copy file name to clipboardExpand all lines: graphql-jpa-query-schema/src/main/java/com/introproventures/graphql/jpa/query/schema/impl/GraphQLJpaQueryDataFetcher.java
+13-10
Original file line number
Diff line number
Diff line change
@@ -49,18 +49,21 @@ class GraphQLJpaQueryDataFetcher extends QraphQLJpaBaseDataFetcher {
Copy file name to clipboardExpand all lines: graphql-jpa-query-schema/src/main/java/com/introproventures/graphql/jpa/query/schema/impl/GraphQLJpaSchemaBuilder.java
+33-8
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,8 @@ public class GraphQLJpaSchemaBuilder implements GraphQLSchemaBuilder {
117
117
118
118
privatebooleanisUseDistinctParameter = false;
119
119
privatebooleanisDefaultDistinct = true;
120
+
// the many end is a collection, and it is always optional by default (empty collection)
Copy file name to clipboardExpand all lines: graphql-jpa-query-schema/src/main/java/com/introproventures/graphql/jpa/query/schema/impl/GraphQLJpaSimpleDataFetcher.java
Copy file name to clipboardExpand all lines: graphql-jpa-query-schema/src/main/java/com/introproventures/graphql/jpa/query/schema/impl/QraphQLJpaBaseDataFetcher.java
+20-16
Original file line number
Diff line number
Diff line change
@@ -100,16 +100,21 @@ class QraphQLJpaBaseDataFetcher implements DataFetcher<Object> {
0 commit comments