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