error[E0277]: the trait bound `Test: GraphQLObject<__S>` is not satisfied --> fail/union/struct_non_object_variant.rs:10:14 | 10 | #[graphql(on Test = Character::a)] | ^^^^ the trait `GraphQLObject<__S>` is not implemented for `Test` | = help: the following other types implement trait `GraphQLObject`: `&T` implements `GraphQLObject` `Arc` implements `GraphQLObject` `Argument<'a, S>` implements `GraphQLObject` `Box` implements `GraphQLObject` `EnumValue` implements `GraphQLObject<__S>` `SchemaType<'a, S>` implements `GraphQLObject` `juniper::meta::Field<'a, S>` implements `GraphQLObject` `juniper::schema::model::DirectiveType<'a, S>` implements `GraphQLObject` `juniper::schema::model::TypeType<'a, S>` implements `GraphQLObject`