pypi strawberry-graphql 0.232.2
🍓 0.232.2

latest releases: 0.235.1, 0.235.1.dev1719337273, 0.235.0...
one month ago

This release fixes an issue that would prevent using lazy aliased connections to
annotate a connection field.

For example, this should now work correctly:

# types.py


@strawberry.type
class Fruit: ...


FruitConnection: TypeAlias = ListConnection[Fruit]
# schema.py


@strawberry.type
class Query:
    fruits: Annotated["FruitConnection", strawberry.lazy("types")] = (
        strawberry.connection()
    )

Releases contributed by @bellini666 via #3524

Don't miss a new strawberry-graphql release

NewReleases is sending notifications on new releases.