Skip to content

0.340.1

Choose a tag to compare

@botberry botberry released this 07 Nov 10:46
· 21 commits to main since this release

This release fixes strawberry codegen wrapping nullable strawberry.Maybe
input fields twice. A field declared as strawberry.Maybe[str | None] was
generated as Optional[Optional[str]] in Python and string | undefined | undefined
in TypeScript. It's now Optional[str] and string | undefined, matching the
nullable String it is in the schema.

This release was contributed by @RagedPanda in #4759