Merge branch 'next-typemap-duplicate'

This commit is contained in:
Syrus Akbary 2016-09-17 12:02:41 -07:00
commit 061c33f8d6

View File

@ -118,6 +118,8 @@ class TypeMap(GraphQLTypeMap):
def construct_objecttype(self, map, type):
from .definitions import GrapheneObjectType
if type._meta.name in map:
return map
map[type._meta.name] = GrapheneObjectType(
graphene_type=type,
name=type._meta.name,