We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7999981 commit 4ffbd22Copy full SHA for 4ffbd22
graphql_client_codegen/src/schema.rs
@@ -381,11 +381,10 @@ impl StoredInputType {
381
TypeId::Input(input_id) => {
382
if used_types.types.contains(&type_id) {
383
continue;
384
- } else {
385
- used_types.types.insert(type_id);
386
- let input = schema.get_input(input_id);
387
- input.used_input_ids_recursive(used_types, schema);
388
}
+ used_types.types.insert(type_id);
+ let input = schema.get_input(input_id);
+ input.used_input_ids_recursive(used_types, schema);
389
390
TypeId::Enum(_) | TypeId::Scalar(_) => {
391
used_types.types.insert(type_id);
0 commit comments