2020-11-14 14:41:01 +01:00
|
|
|
error: GraphQL union cannot use #[graphql(with = ...)] attribute on a trait method
|
2021-12-14 19:30:27 +02:00
|
|
|
--> fail/union/trait_with_attr_on_method.rs:5:15
|
2020-06-04 11:19:01 +03:00
|
|
|
|
|
2020-11-14 14:41:01 +01:00
|
|
|
5 | #[graphql(with = something)]
|
|
|
|
| ^^^^
|
2021-12-20 15:50:49 +03:00
|
|
|
|
|
|
|
|
= note: https://spec.graphql.org/June2018/#sec-Unions
|
|
|
|
= note: instead use #[graphql(ignore)] on the method with #[graphql_union(on ... = ...)] on the trait itself
|