changedOutput schema / properties / data / properties / graph / anyOf
Previous value: -[
- {
- "properties": {
- "variant": {
- "anyOf": [
- {
- "properties": {
- "latestApprovedLaunch": {
- "anyOf": [
- {
- "properties": {
- "completedAt": {
- "anyOf": [
- {
- "description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
- },
- {
- "type": "null"
- }
- ],
- "description": "The timestamp when the launch completed. This value is null until the launch completes."
- },
- "id": {
- "description": "The unique identifier for this launch.",
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- }
- ]
- },
- "status": {
- "$ref": "#/definitions/LaunchStatus",
- "description": "The launch's status. If a launch is superseded, its status remains `LAUNCH_INITIATED`. To check for a superseded launch, use `supersededAt`."
- }
- },
- "required": [
- "id",
- "status"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Latest approved launch for the variant, and what is served through Uplink."
- },
- "latestLaunch": {
- "anyOf": [
- {
- "properties": {
- "completedAt": {
- "anyOf": [
- {
- "description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
- },
- {
- "type": "null"
- }
- ],
- "description": "The timestamp when the launch completed. This value is null until the launch completes."
- },
- "id": {
- "description": "The unique identifier for this launch.",
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- }
- ]
- },
- "publication": {
- "anyOf": [
- {
- "properties": {
- "compositionResult": {
- "anyOf": [
- {
- "properties": {
- "errors": {
- "description": "A list of errors that occurred during composition. Errors mean that Apollo was unable to compose the graph variant's subgraphs into a supergraph schema. If any errors are present, gateways / routers are not updated.",
- "items": {
- "properties": {
- "code": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "A machine-readable error code."
- },
- "locations": {
- "description": "Source locations related to the error.",
- "items": {
- "anyOf": [
- {
- "properties": {
- "column": {
- "description": "Column number.",
- "type": "integer"
- },
- "line": {
- "description": "Line number.",
- "type": "integer"
- }
- },
- "required": [
- "line",
- "column"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "type": "array"
- },
- "message": {
- "description": "A human-readable message describing the error.",
- "type": "string"
- }
- },
- "required": [
- "message",
- "locations"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "errors"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The result of federated composition executed for this publication. This result includes either a supergraph schema or error details, depending on whether composition succeeded. This value is null when the publication is for a non-federated graph."
- },
- "diffToPrevious": {
- "anyOf": [
- {
- "properties": {
- "affectedQueries": {
- "anyOf": [
- {
- "items": {
- "properties": {
- "id": {
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- }
- ]
- },
- "isValid": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "description": "Determines if this query validates against the proposed schema"
- },
- "markedAsIgnored": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "description": "Whether this operation was ignored and its severity was downgraded for that reason"
- },
- "markedAsSafe": {
- "anyOf": [
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ],
- "description": "Whether the changes were marked as safe and its severity was downgraded for that reason"
- },
- "name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Name provided for the operation, which can be empty string if it is an anonymous operation"
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Operations affected by all changes in the diff."
- },
- "changeSummary": {
- "description": "Numeric summaries for each type of change in the diff.",
- "properties": {
- "field": {
- "description": "Counts for changes to fields of objects, input objects, and interfaces.",
- "properties": {
- "additions": {
- "description": "Number of changes that are additions of fields to object, interface, and input types.",
- "type": "integer"
- },
- "edits": {
- "description": "Number of changes that are field edits. This includes fields changing type and any field\ndeprecation and description changes, but also includes any argument changes and any input object\nfield changes.",
- "type": "integer"
- },
- "removals": {
- "description": "Number of changes that are removals of fields from object, interface, and input types.",
- "type": "integer"
- }
- },
- "required": [
- "additions",
- "removals",
- "edits"
- ],
- "type": "object"
- },
- "total": {
- "description": "Counts for all changes.",
- "properties": {
- "additions": {
- "description": "Number of changes that are additions. This includes adding types, adding fields to object, input\nobject, and interface types, adding values to enums, adding members to interfaces and unions, and\nadding arguments.",
- "type": "integer"
- },
- "deprecations": {
- "description": "Number of changes that are new usages of the @deprecated directive.",
- "type": "integer"
- },
- "edits": {
- "description": "Number of changes that are edits. This includes types changing kind, fields and arguments\nchanging type, arguments changing default value, and any description changes. This also includes\nedits to @deprecated reason strings.",
- "type": "integer"
- },
- "removals": {
- "description": "Number of changes that are removals. This includes removing types, removing fields from object,\ninput object, and interface types, removing values from enums, removing members from interfaces\nand unions, and removing arguments. This also includes removing @deprecated usages.",
- "type": "integer"
- }
- },
- "required": [
- "additions",
- "removals",
- "edits",
- "deprecations"
- ],
- "type": "object"
- }
- },
- "required": [
- "total",
- "field"
- ],
- "type": "object"
- }
- },
- "required": [
- "changeSummary"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "A schema diff comparing against the schema from the most recent previous successful publication."
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "A specific publication of a graph variant pertaining to this launch."
- },
- "status": {
- "$ref": "#/definitions/LaunchStatus",
- "description": "The launch's status. If a launch is superseded, its status remains `LAUNCH_INITIATED`. To check for a superseded launch, use `supersededAt`."
- },
- "subgraphChanges": {
- "anyOf": [
- {
- "items": {
- "properties": {
- "name": {
- "description": "The subgraph's name.",
- "oneOf": [
- {
- "type": "string"
- },
- {
- "type": "integer"
- }
- ]
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "A list of subgraph changes that are included in this launch."
- }
- },
- "required": [
- "id",
- "status"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Latest launch for the variant, whether successful or not."
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Provides details of the graph variant with the provided `name`, if a variant\nwith that name exists for this graph. Otherwise, returns null.\n\n For a list of _all_ variants associated with a graph, use `Graph.variants` instead."
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "variant": {
+ "anyOf": [
+ {
+ "properties": {
+ "latestApprovedLaunch": {
+ "anyOf": [
+ {
+ "properties": {
+ "completedAt": {
+ "anyOf": [
+ {
+ "description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The timestamp when the launch completed. This value is null until the launch completes."
+ },
+ "id": {
+ "description": "The unique identifier for this launch.",
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ }
+ ]
+ },
+ "status": {
+ "$ref": "#/definitions/LaunchStatus",
+ "description": "The launch's status. If a launch is superseded, its status remains `LAUNCH_INITIATED`. To check for a superseded launch, use `supersededAt`."
+ }
+ },
+ "required": [
+ "id",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Latest approved launch for the variant, and what is served through Uplink."
+ },
+ "latestLaunch": {
+ "anyOf": [
+ {
+ "properties": {
+ "build": {
+ "anyOf": [
+ {
+ "properties": {
+ "result": {
+ "anyOf": [
+ {
+ "properties": {
+ "errorMessages": {
+ "description": "A list of all errors that occurred during the failed build.",
+ "items": {
+ "properties": {
+ "code": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "failedStep": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "locations": {
+ "items": {
+ "properties": {
+ "column": {
+ "description": "Column number.",
+ "type": "integer"
+ },
+ "line": {
+ "description": "Line number.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "line",
+ "column"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "message": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "message",
+ "locations"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "errorMessages"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The result of the build. This value is null until the build completes."
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The associated build for this launch (a build includes schema composition and contract filtering). This value is null until the build is initiated."
+ },
+ "completedAt": {
+ "anyOf": [
+ {
+ "description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The timestamp when the launch completed. This value is null until the launch completes."
+ },
+ "id": {
+ "description": "The unique identifier for this launch.",
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ }
+ ]
+ },
+ "publication": {
+ "anyOf": [
+ {
+ "properties": {
+ "diffToPrevious": {
+ "anyOf": [
+ {
+ "properties": {
+ "affectedQueries": {
+ "anyOf": [
+ {
+ "items": {
+ "properties": {
+ "id": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ }
+ ]
+ },
+ "isValid": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Determines if this query validates against the proposed schema"
+ },
+ "markedAsIgnored": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Whether this operation was ignored and its severity was downgraded for that reason"
+ },
+ "markedAsSafe": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Whether the changes were marked as safe and its severity was downgraded for that reason"
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Name provided for the operation, which can be empty string if it is an anonymous operation"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Operations affected by all changes in the diff."
+ },
+ "changeSummary": {
+ "description": "Numeric summaries for each type of change in the diff.",
+ "properties": {
+ "field": {
+ "description": "Counts for changes to fields of objects, input objects, and interfaces.",
+ "properties": {
+ "additions": {
+ "description": "Number of changes that are additions of fields to object, interface, and input types.",
+ "type": "integer"
+ },
+ "edits": {
+ "description": "Number of changes that are field edits. This includes fields changing type and any field\ndeprecation and description changes, but also includes any argument changes and any input object\nfield changes.",
+ "type": "integer"
+ },
+ "removals": {
+ "description": "Number of changes that are removals of fields from object, interface, and input types.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "additions",
+ "removals",
+ "edits"
+ ],
+ "type": "object"
+ },
+ "total": {
+ "description": "Counts for all changes.",
+ "properties": {
+ "additions": {
+ "description": "Number of changes that are additions. This includes adding types, adding fields to object, input\nobject, and interface types, adding values to enums, adding members to interfaces and unions, and\nadding arguments.",
+ "type": "integer"
+ },
+ "deprecations": {
+ "description": "Number of changes that are new usages of the @deprecated directive.",
+ "type": "integer"
+ },
+ "edits": {
+ "description": "Number of changes that are edits. This includes types changing kind, fields and arguments\nchanging type, arguments changing default value, and any description changes. This also includes\nedits to @deprecated reason strings.",
+ "type": "integer"
+ },
+ "removals": {
+ "description": "Number of changes that are removals. This includes removing types, removing fields from object,\ninput object, and interface types, removing values from enums, removing members from interfaces\nand unions, and removing arguments. This also includes removing @deprecated usages.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "additions",
+ "removals",
+ "edits",
+ "deprecations"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "total",
+ "field"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "changeSummary"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A schema diff comparing against the schema from the most recent previous successful publication."
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A specific publication of a graph variant pertaining to this launch."
+ },
+ "status": {
+ "$ref": "#/definitions/LaunchStatus",
+ "description": "The launch's status. If a launch is superseded, its status remains `LAUNCH_INITIATED`. To check for a superseded launch, use `supersededAt`."
+ },
+ "subgraphChanges": {
+ "anyOf": [
+ {
+ "items": {
+ "properties": {
+ "name": {
+ "description": "The subgraph's name.",
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ }
+ ]
+ }
+ },
+ "required": [
+ "name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "A list of subgraph changes that are included in this launch."
+ }
+ },
+ "required": [
+ "id",
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Latest launch for the variant, whether successful or not."
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Provides details of the graph variant with the provided `name`, if a variant\nwith that name exists for this graph. Otherwise, returns null.\n\n For a list of _all_ variants associated with a graph, use `Graph.variants` instead."
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]