Skip to content

Commit da09bc3

Browse files
committed
Fixed unregistered types in schema
1 parent aa2f4c5 commit da09bc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graphene/core/schema.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def schema(self):
7777
self,
7878
query=self.T(self.query),
7979
mutation=self.T(self.mutation),
80+
types=[self.T(_type) for _type in list(self._types_names.values())],
8081
subscription=self.T(self.subscription))
8182

8283
def register(self, object_type, force=False):

0 commit comments

Comments
 (0)