changedOutput schema / properties / data / properties / graph / anyOf
Previous value: -[
- {
- "properties": {
- "variant": {
- "anyOf": [
- {
- "properties": {
- "launch": {
- "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."
- },
- "createdAt": {
- "description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
- },
- "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": {
- "changeSummary": {
- "description": "Numeric summaries for each type of change in the diff.",
- "properties": {
- "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"
- ],
- "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",
- "createdAt"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Retrieve a launch for this variant by ID."
- }
- },
- "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": {
+ "launch": {
+ "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."
+ },
+ "createdAt": {
+ "description": "ISO 8601, extended format with nanoseconds, Zulu (or \"[+-]seconds\" as a string or number relative to now)"
+ },
+ "id": {
+ "description": "The unique identifier for this launch.",
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ }
+ ]
+ },
+ "publication": {
+ "anyOf": [
+ {
+ "properties": {
+ "diffToPrevious": {
+ "anyOf": [
+ {
+ "properties": {
+ "changeSummary": {
+ "description": "Numeric summaries for each type of change in the diff.",
+ "properties": {
+ "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"
+ ],
+ "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",
+ "createdAt"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Retrieve a launch for this variant by ID."
+ }
+ },
+ "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"
+ }
+]