Skip to content

Commit 0b67135

Browse files
committed
Release 🍓 0.276.1
1 parent e0d35cc commit 0b67135

File tree

3 files changed

+34
-29
lines changed

3 files changed

+34
-29
lines changed

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,39 @@
11
CHANGELOG
22
=========
33

4+
0.276.1 - 2025-07-18
5+
--------------------
6+
7+
This release fixes an issue where `DuplicatedTypeName` exception would be raised
8+
for nested generics like in the example below:
9+
10+
```python
11+
from typing import Generic, TypeVar
12+
13+
import strawberry
14+
15+
T = TypeVar("T")
16+
17+
18+
@strawberry.type
19+
class Wrapper(Generic[T]):
20+
value: T
21+
22+
23+
@strawberry.type
24+
class Query:
25+
a: Wrapper[Wrapper[int]]
26+
b: Wrapper[Wrapper[int]]
27+
28+
29+
schema = strawberry.Schema(query=Query)
30+
```
31+
32+
This piece of code and similar ones will now work correctly.
33+
34+
Contributed by [Thiago Bellini Ribeiro](https://github.com/bellini666) via [PR #3946](https://github.com/strawberry-graphql/strawberry/pull/3946/)
35+
36+
437
0.276.0 - 2025-07-14
538
--------------------
639

RELEASE.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "strawberry-graphql"
3-
version = "0.276.0"
3+
version = "0.276.1"
44
description = "A library for creating GraphQL APIs"
55
authors = [{ name = "Patrick Arminio", email = "[email protected]" }]
66
license = { text = "MIT" }

0 commit comments

Comments
 (0)