Package graphql.util
Class CyclicSchemaAnalyzer
- java.lang.Object
-
- graphql.util.CyclicSchemaAnalyzer
-
@ExperimentalApi public class CyclicSchemaAnalyzer extends java.lang.Object
Finds all cycles in a GraphQL Schema. Cycles caused by built-in introspection types are filtered out.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CyclicSchemaAnalyzer.SchemaCycle
-
Constructor Summary
Constructors Constructor Description CyclicSchemaAnalyzer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<CyclicSchemaAnalyzer.SchemaCycle>
findCycles(GraphQLSchema schema)
static java.util.List<CyclicSchemaAnalyzer.SchemaCycle>
findCycles(GraphQLSchema schema, boolean filterOutIntrospectionCycles)
-
-
-
Method Detail
-
findCycles
public static java.util.List<CyclicSchemaAnalyzer.SchemaCycle> findCycles(GraphQLSchema schema)
-
findCycles
public static java.util.List<CyclicSchemaAnalyzer.SchemaCycle> findCycles(GraphQLSchema schema, boolean filterOutIntrospectionCycles)
-
-