← All types
Ob Object

WorkspaceVersionPayload

Result of creating a workspace version: either the created draft or the validation errors that prevented it.

Fields

The newly created draft version; null when errors is non-empty.

errors

[FieldError!]!Non-null

Field-level validation errors (e.g. an invalid definition, an unknown workspace). Empty on success.

Referenced by (2)
Exact type SDL
"""
Result of creating a workspace version: either the created draft or the validation errors that prevented it.
"""
type WorkspaceVersionPayload {
  """The newly created draft version; null when `errors` is non-empty."""
  version: WorkspaceVersion
  """
  Field-level validation errors (e.g. an invalid definition, an unknown workspace). Empty on success.
  """
  errors: [FieldError!]!
}