Package graphql.schema.diff
Class DiffSet
java.lang.Object
graphql.schema.diff.DiffSet
Deprecated.
Represents 2 schemas that can be diffed. The
SchemaDiff
code
assumes that that schemas to be diffed are the result of a
IntrospectionQuery
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DiffSet
diffSet
(GraphQLSchema schemaOld, GraphQLSchema schemaNew) Deprecated.Creates a diff set out of the result of 2 schemas.static DiffSet
Deprecated.Creates a diff set out of the result of 2 introspection queries.getNew()
Deprecated.getOld()
Deprecated.
-
Constructor Details
-
DiffSet
Deprecated.
-
-
Method Details
-
getOld
Deprecated.- Returns:
- the old API as an introspection result
-
getNew
Deprecated.- Returns:
- the new API as an introspection result
-
diffSet
public static DiffSet diffSet(Map<String, Object> introspectionOld, Map<String, Object> introspectionNew) Deprecated.Creates a diff set out of the result of 2 introspection queries.- Parameters:
introspectionOld
- the older introspection queryintrospectionNew
- the newer introspection query- Returns:
- a diff set representing them
-
diffSet
Deprecated.Creates a diff set out of the result of 2 schemas.- Parameters:
schemaOld
- the older schemaschemaNew
- the newer schema- Returns:
- a diff set representing them
-