Prettified schema

This commit is contained in:
Syrus Akbary 2017-03-02 19:38:05 -08:00
parent 7b26e8d458
commit ff3dc6a66d

View File

@ -104,4 +104,10 @@ class Schema(GraphQLSchema):
] ]
if self.types: if self.types:
initial_types += self.types initial_types += self.types
self._type_map = TypeMap(initial_types, auto_camelcase=self.auto_camelcase, schema=self, resolvers=self._resolvers)
self._type_map = TypeMap(
initial_types,
auto_camelcase=self.auto_camelcase,
schema=self,
resolvers=self._resolvers
)