Package: effect
Module: SchemaIssue
Represents a schema issue produced when a required key or tuple index is missing from the input.
When to use
Use when you need to detect absent fields in struct/tuple validation.
Details
actual value — getActual returns Option.none().annotations may contain a custom messageMissingKey for formatting.See
Pointer — wraps this issue with the missing key’s pathUnexpectedKey — the opposite case (extra key present)Signature
declare class MissingKey { constructor(
/**
* The metadata for the issue.
*/
annotations: Schema.Annotations.Key<unknown> | undefined
) }
Since v4.0.0