Skip to content
HALOWERK

Codewerk

graphql diff

Builds both SDL schemas with graphql-js 17.0.2 and compares them with @graphql-inspector/core 8.0.1, which classifies each change by criticality: BREAKING (removed types/fields/enum values, new required arguments or input fields, incompatible type changes), DANGEROUS (added enum values or union members, changed default values, possibly affecting clients) and NON_BREAKING (additions, descriptions, deprecations). The verdict assumes every field may be in use; usage data is not considered..

POST https://code.halowerk.com/v1/graphql-diff

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
old_sdlstringYesPrevious schema (SDL).
new_sdlstringYesNew schema (SDL).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "old_sdl",
    "new_sdl"
  ],
  "properties": {
    "old_sdl": {
      "type": "string",
      "minLength": 3,
      "maxLength": 1000000,
      "description": "Previous schema (SDL)."
    },
    "new_sdl": {
      "type": "string",
      "minLength": 3,
      "maxLength": 1000000,
      "description": "New schema (SDL)."
    }
  }
}

Open original schema

Published input example

{
  "old_sdl": "type Query { user(id: ID!): User }\ntype User { id: ID! email: String }",
  "new_sdl": "type Query { user(id: ID!): User }\ntype User { id: ID! }"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’