Class DiffSet

java.lang.Object
graphql.schema.diff.DiffSet

@PublicApi @Deprecated public class DiffSet extends Object
Deprecated.
Represents 2 schemas that can be diffed. The SchemaDiff code assumes that that schemas to be diffed are the result of a IntrospectionQuery.
  • Field Details

    • introspectionOld

      private final Map<String,Object> introspectionOld
      Deprecated.
    • introspectionNew

      private final Map<String,Object> introspectionNew
      Deprecated.
  • Constructor Details

  • Method Details

    • getOld

      public Map<String,Object> getOld()
      Deprecated.
      Returns:
      the old API as an introspection result
    • getNew

      public Map<String,Object> 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 query
      introspectionNew - 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 schema
      schemaNew - the newer schema
      Returns:
      a diff set representing them
    • introspect

      private static Map<String,Object> introspect(GraphQLSchema schema)
      Deprecated.