Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 01 Nov 11:22
· 3 commits to master since this release
5ef07f8
  • ParseResult::valueOr($default): typed access without an exception
    (TValue|TDefault). Psalm cannot narrow ->value by ->ok, so
    $r->ok ? $r->value[...] : null stayed nullable; valueOr(null) plus a
    null check keeps the plugin's exact shape (ecosystem-sandbox pilot).
  • README: the "event is one schema" recipe needs schema() declared as
    IntoSchema for the typed toWire(); an interface's SchemaInterface
    return type may be narrowed in the implementation.