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 15f608f commit e1250c0Copy full SHA for e1250c0
crates/graphql_network_protocol/src/process_type_system_definition.rs
@@ -496,7 +496,7 @@ impl GraphQLObjectDefinitionType {
496
pub fn has_typename_field(&self) -> bool {
497
match self {
498
GraphQLObjectDefinitionType::InputObject => false,
499
- GraphQLObjectDefinitionType::Union => false,
+ GraphQLObjectDefinitionType::Union => true,
500
GraphQLObjectDefinitionType::Object => true,
501
GraphQLObjectDefinitionType::Interface => true,
502
}
0 commit comments