782eccba47
- replace `proc-macro-error` crate with simplified `common::diagnostic::pollyfill` - migrate `juniper_codegen_tests` to stable Rust Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kai Ren <tyranron@gmail.com>
7 lines
378 B
Text
7 lines
378 B
Text
error: GraphQL union cannot use #[graphql(with = ...)] attribute on a trait method
|
|
· note: https://spec.graphql.org/October2021#sec-Unions
|
|
· note: instead use #[graphql(ignore)] on the method with #[graphql_union(on ... = ...)] on the trait itself
|
|
--> fail/union/trait_with_attr_on_method.rs:5:15
|
|
|
|
|
5 | #[graphql(with = something)]
|
|
| ^^^^
|