Skip to content

Commit

Permalink
Merge b2edbee into eec6f3c
Browse files Browse the repository at this point in the history
  • Loading branch information
pmantica1 committed Mar 29, 2019
2 parents eec6f3c + b2edbee commit 6f049f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion graphql_compiler/schema_generation/graphql_schema.py
Expand Up @@ -355,7 +355,6 @@ def get_graphql_schema_from_schema_graph(schema_graph, class_to_field_type_overr
RootSchemaQuery = GraphQLObjectType('RootSchemaQuery', OrderedDict([
(name, GraphQLField(value))
for name, value in sorted(six.iteritems(graphql_types), key=lambda x: x[0])
if not isinstance(value, GraphQLUnionType)
]))

schema = GraphQLSchema(RootSchemaQuery, directives=DIRECTIVES)
Expand Down
2 changes: 2 additions & 0 deletions graphql_compiler/tests/test_helpers.py
Expand Up @@ -167,6 +167,8 @@
FoodOrSpecies: FoodOrSpecies
Location: Location
Species: Species
Union__BirthEvent__Event__FeedingEvent: Union__BirthEvent__Event__FeedingEvent
Union__Food__FoodOrSpecies__Species: Union__Food__FoodOrSpecies__Species
UniquelyIdentifiable: UniquelyIdentifiable
}
Expand Down

0 comments on commit 6f049f0

Please sign in to comment.