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
This commit logs the number of schema resources that were loaded to
create the GraphQL schema, at the INFO level. If DEBUG is enabled for
this package, the description of all schema resources will be logged as
well.
Closesgh-566
Copy file name to clipboardExpand all lines: spring-graphql/src/main/java/org/springframework/graphql/execution/DefaultSchemaResourceGraphQlSourceBuilder.java
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,7 @@
24
24
importjava.util.List;
25
25
importjava.util.Set;
26
26
importjava.util.function.BiFunction;
27
+
importjava.util.stream.Collectors;
27
28
28
29
importgraphql.language.InterfaceTypeDefinition;
29
30
importgraphql.language.UnionTypeDefinition;
@@ -36,6 +37,8 @@
36
37
importgraphql.schema.idl.SchemaParser;
37
38
importgraphql.schema.idl.TypeDefinitionRegistry;
38
39
importgraphql.schema.idl.WiringFactory;
40
+
importorg.apache.commons.logging.Log;
41
+
importorg.apache.commons.logging.LogFactory;
39
42
40
43
importorg.springframework.core.io.Resource;
41
44
importorg.springframework.lang.Nullable;
@@ -53,6 +56,8 @@ final class DefaultSchemaResourceGraphQlSourceBuilder
0 commit comments