Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
strawberry_graphql-0.276.1.tar.gz | 2025-07-18 | 209.9 kB | |
strawberry_graphql-0.276.1-py3-none-any.whl | 2025-07-18 | 306.5 kB | |
0.276.1 source code.tar.gz | 2025-07-18 | 1.1 MB | |
0.276.1 source code.zip | 2025-07-18 | 1.5 MB | |
README.md | 2025-07-18 | 593 Bytes | |
Totals: 5 Items | 3.2 MB | 0 |
This release fixes an issue where DuplicatedTypeName
exception would be raised
for nested generics like in the example below:
:::python
from typing import Generic, TypeVar
import strawberry
T = TypeVar("T")
@strawberry.type
class Wrapper(Generic[T]):
value: T
@strawberry.type
class Query:
a: Wrapper[Wrapper[int]]
b: Wrapper[Wrapper[int]]
schema = strawberry.Schema(query=Query)
This piece of code and similar ones will now work correctly.
Releases contributed by @bellini666 via [#3946]