juniper/tests/codegen/fail/input-object/derive_unique_name.stderr
ilslv 927e42201a
Rework #[derive(GraphQLInputObject)] macro implementation (#1052)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 11:27:28 +00:00

10 lines
268 B
Text

error: GraphQL input object expected all fields to have unique names
--> fail/input-object/derive_unique_name.rs:4:15
|
4 | struct Object {
| _______________^
5 | | test: String,
6 | | #[graphql(name = "test")]
7 | | test2: String,
8 | | }
| |_^