juniper/tests/codegen/fail/object/derive_fields_duplicate.stderr
ilslv a32140cd46
Update all links to October 2021 spec (#1075, #1000)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 15:32:08 +00:00

11 lines
294 B
Text

error: GraphQL object must have a different name for each field
--> fail/object/derive_fields_duplicate.rs:4:1
|
4 | / struct ObjA {
5 | | id: String,
6 | | #[graphql(name = "id")]
7 | | id2: String,
8 | | }
| |_^
|
= note: https://spec.graphql.org/October2021#sec-Objects