2021-08-11 09:41:49 -05:00
|
|
|
error: GraphQL object must have a different name for each field
|
2021-12-14 11:30:27 -06:00
|
|
|
--> fail/object/derive_fields_duplicate.rs:4:1
|
|
|
|
|
|
2021-12-20 06:50:49 -06:00
|
|
|
4 | / struct ObjA {
|
|
|
|
5 | | id: String,
|
|
|
|
6 | | #[graphql(name = "id")]
|
|
|
|
7 | | id2: String,
|
|
|
|
8 | | }
|
|
|
|
| |_^
|
|
|
|
|
|
2022-06-28 10:32:08 -05:00
|
|
|
= note: https://spec.graphql.org/October2021#sec-Objects
|