You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The codegen option fragments_other_variant does not create any change in the code generated. The root cause I ran into was that the schema I was using actually had Other as one of the enumerations causing a conflict with the generated Other(&str). graphql_client_codegen/src/codegen/enums.rs Generates the Other(&str) without regard to the settings in options. It is probably a different issue, but coming up with a name less likely to collide than Other might be a good idea too.
The text was updated successfully, but these errors were encountered:
error[E0428]: the name `Other` is defined multiple times
--> src/cmds/creds/ls.rs:29:10
|
29 | #[derive(GraphQLQuery)]
| ^^^^^^^^^^^^ `Other` redefined here
The codegen option fragments_other_variant does not create any change in the code generated. The root cause I ran into was that the schema I was using actually had Other as one of the enumerations causing a conflict with the generated Other(&str). graphql_client_codegen/src/codegen/enums.rs Generates the Other(&str) without regard to the settings in options. It is probably a different issue, but coming up with a name less likely to collide than Other might be a good idea too.
The text was updated successfully, but these errors were encountered: