Latest Results
Support strawberry.Maybe on pydantic inputs
`Maybe` gets a pydantic core schema, through a hook that defers to the
integration: a value is validated as `T` and wrapped in `Some`, the field
defaults to `None` without validating it, and `model_dump()` gives the value
inside the `Some`, so `model_dump(exclude_unset=True)` only has the fields
the client sent. Strawberry passes the values as they are, recursing into
nested inputs and lists, and nulls go through `convert_argument`, so
`Maybe[T]` rejects them like on `@strawberry.input`.
`MaybeFieldError` now covers what the integration doesn't support: `Maybe`
on output types, defaults other than `None`, pydantic metadata outside the
`Maybe`, which would apply to the `Some`, and `validate_default` on an
explicit `None`. Latest Branches
0%
0%
lilacrainlog-art:feat/issue-3149-sort-schema -31%
linevych:fix/deterministic-codegen-order © 2026 CodSpeed Technology