We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f32c5b2 commit 45aa4b7Copy full SHA for 45aa4b7
graphql-api-generator/utils/utils.py
@@ -650,7 +650,7 @@ def add_object_type_filters(schema: GraphQLSchema):
650
continue
651
652
named_type = get_named_type(field.type)
653
- if is_enum_or_scalar(named_type):
+ if is_enum_or_scalar(named_type) or is_union_type(named_type):
654
655
656
if field_name.startswith('_incoming') or field_name.startswith('_outgoing'):
0 commit comments