Skip to content

Commit

Permalink
Fixed unregistered types in schema
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed May 28, 2016
1 parent aa2f4c5 commit da09bc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphene/core/schema.py
Expand Up @@ -77,6 +77,7 @@ def schema(self):
self,
query=self.T(self.query),
mutation=self.T(self.mutation),
types=[self.T(_type) for _type in list(self._types_names.values())],
subscription=self.T(self.subscription))

def register(self, object_type, force=False):
Expand Down

0 comments on commit da09bc3

Please sign in to comment.