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