Package graphql.schema.diff
Class DiffSet
- java.lang.Object
-
- graphql.schema.diff.DiffSet
-
@PublicApi @Deprecated(since="2023-10-04") public class DiffSet extends java.lang.Object
Deprecated.Represents 2 schemas that can be diffed. TheSchemaDiff
code assumes that that schemas to be diffed are the result of aIntrospectionQuery
.
-
-
Constructor Summary
Constructors Constructor Description DiffSet(java.util.Map<java.lang.String,java.lang.Object> introspectionOld, java.util.Map<java.lang.String,java.lang.Object> introspectionNew)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DiffSet
diffSet(GraphQLSchema schemaOld, GraphQLSchema schemaNew)
Deprecated.Creates a diff set out of the result of 2 schemas.static DiffSet
diffSet(java.util.Map<java.lang.String,java.lang.Object> introspectionOld, java.util.Map<java.lang.String,java.lang.Object> introspectionNew)
Deprecated.Creates a diff set out of the result of 2 introspection queries.java.util.Map<java.lang.String,java.lang.Object>
getNew()
Deprecated.java.util.Map<java.lang.String,java.lang.Object>
getOld()
Deprecated.
-
-
-
Method Detail
-
getOld
public java.util.Map<java.lang.String,java.lang.Object> getOld()
Deprecated.- Returns:
- the old API as an introspection result
-
getNew
public java.util.Map<java.lang.String,java.lang.Object> getNew()
Deprecated.- Returns:
- the new API as an introspection result
-
diffSet
public static DiffSet diffSet(java.util.Map<java.lang.String,java.lang.Object> introspectionOld, java.util.Map<java.lang.String,java.lang.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
public static DiffSet diffSet(GraphQLSchema schemaOld, GraphQLSchema schemaNew)
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
-
-