a32140cd46
Co-authored-by: Kai Ren <tyranron@gmail.com>
8 lines
370 B
Text
8 lines
370 B
Text
error: GraphQL union cannot use #[graphql(with = ...)] attribute on a trait method
|
|
--> fail/union/trait_with_attr_on_method.rs:5:15
|
|
|
|
|
5 | #[graphql(with = something)]
|
|
| ^^^^
|
|
|
|
|
= note: https://spec.graphql.org/October2021#sec-Unions
|
|
= note: instead use #[graphql(ignore)] on the method with #[graphql_union(on ... = ...)] on the trait itself
|