Class DiffSet

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

@PublicApi @Deprecated(since="2023-10-04") 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.
  • 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