File tree Expand file tree Collapse file tree 3 files changed +34
-29
lines changed Expand file tree Collapse file tree 3 files changed +34
-29
lines changed Original file line number Diff line number Diff line change 1
1
CHANGELOG
2
2
=========
3
3
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
+
4
37
0.276.0 - 2025-07-14
5
38
--------------------
6
39
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " strawberry-graphql"
3
- version = " 0.276.0 "
3
+ version = " 0.276.1 "
4
4
description = " A library for creating GraphQL APIs"
5
5
authors = [{
name =
" Patrick Arminio" ,
email =
" [email protected] " }]
6
6
license = { text = " MIT" }
You can’t perform that action at this time.
0 commit comments