juniper/tests/codegen/fail/union/trait_with_attr_on_method.stderr
Kai Ren 72ed45a77c
Rework CI and project toolchain (#1043)
- remove `cargo-make` integration
- rework CI pipeline more granular and precise
- rework releasing process
- tune up project layout
- fill up new CHANGELOGs

Additionally:
- fix latest nightly/stable Rust inconsistencies
2022-04-08 17:44:50 +03:00

8 lines
368 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/June2018/#sec-Unions
= note: instead use #[graphql(ignore)] on the method with #[graphql_union(on ... = ...)] on the trait itself