Skip to main content

EdgeWorkerValidationResult

The result of validating an edge worker's WASM binary without persisting it.

type EdgeWorkerValidationResult {
errors: [String!]!
phases: [EdgeWorkerPhase!]!
valid: Boolean!
}

Fields

EdgeWorkerValidationResult.errors ● [String!]! non-null scalar common

Validation error messages. Empty when the worker is valid.

EdgeWorkerValidationResult.phases ● [EdgeWorkerPhase!]! non-null enum common

The request lifecycle phases the worker would run in. Empty when invalid.

EdgeWorkerValidationResult.valid ● Boolean! non-null scalar common

Whether the WASM binary passed validation.

Returned By

validateEdgeWorker mutation