Typed request payload for an operation effect.
Operation effects are still interpreted by runtime capabilities, but this struct defines the durable data shape those capabilities receive.
Summary
Functions
Normalizes an existing request, keyword list, or map.
Builds an operation request from keyword or map attributes.
Builds an operation request and raises if the attributes are invalid.
Returns the Zoi schema for an operation request.
Projects an operation request into an effect payload.
Types
Functions
Normalizes an existing request, keyword list, or map.
Builds an operation request from keyword or map attributes.
Builds an operation request and raises if the attributes are invalid.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for an operation request.
Projects an operation request into an effect payload.