2020-11-14 14:41:01 +01:00
|
|
|
error: GraphQL union cannot use #[graphql(with = ...)] attribute on a trait method
|
2023-11-01 19:00:05 +01:00
|
|
|
· note: https://spec.graphql.org/October2021#sec-Unions
|
|
|
|
· note: instead use #[graphql(ignore)] on the method with #[graphql_union(on ... = ...)] on the trait itself
|
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)]
|
|
|
|
| ^^^^
|
2024-01-30 16:41:11 +01:00
|
|
|
|
|
|
|
error: cannot find attribute `graphql` in this scope
|
|
|
|
--> fail/union/trait_with_attr_on_method.rs:5:7
|
|
|
|
|
|
|
|
|
5 | #[graphql(with = something)]
|
|
|
|
| ^^^^^^^
|