@PublicApi public class DiffSet extends java.lang.Object
SchemaDiff code
assumes that that schemas to be diffed are the result of a
IntrospectionQuery.| Constructor and Description |
|---|
DiffSet(java.util.Map<java.lang.String,java.lang.Object> introspectionOld,
java.util.Map<java.lang.String,java.lang.Object> introspectionNew) |
| Modifier and Type | Method and Description |
|---|---|
static DiffSet |
diffSet(GraphQLSchema schemaOld,
GraphQLSchema schemaNew)
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)
Creates a diff set out of the result of 2 introspection queries.
|
java.util.Map<java.lang.String,java.lang.Object> |
getNew() |
java.util.Map<java.lang.String,java.lang.Object> |
getOld() |
public DiffSet(java.util.Map<java.lang.String,java.lang.Object> introspectionOld,
java.util.Map<java.lang.String,java.lang.Object> introspectionNew)
public java.util.Map<java.lang.String,java.lang.Object> getOld()
public java.util.Map<java.lang.String,java.lang.Object> getNew()
public static DiffSet diffSet(java.util.Map<java.lang.String,java.lang.Object> introspectionOld, java.util.Map<java.lang.String,java.lang.Object> introspectionNew)
introspectionOld - the older introspection queryintrospectionNew - the newer introspection querypublic static DiffSet diffSet(GraphQLSchema schemaOld, GraphQLSchema schemaNew)
schemaOld - the older schemaschemaNew - the newer schema