From the code it looks like it expects all types to have fields. The GraphQLUnionType does not support fields, but the getTypes() on this type would expose each type with these fields.
In the validate fixture I could flatten the types in fields to expand the fields available for validating.
From the code it looks like it expects all types to have fields. The GraphQLUnionType does not support fields, but the getTypes() on this type would expose each type with these fields.
In the validate fixture I could flatten the types in fields to expand the fields available for validating.
..line 89
If I get time next week I will create a unit test for this.