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 c25e450 commit ba50fb8Copy full SHA for ba50fb8
src/graphql/utilities/lexicographic_sort_schema.py
@@ -97,9 +97,9 @@ def sort_input_fields(
97
for name, field in sorted(fields_map.items())
98
}
99
100
- def sort_types(arr: FrozenList[GraphQLNamedType]) -> List[GraphQLNamedType]:
+ def sort_types(array: FrozenList[GraphQLNamedType]) -> List[GraphQLNamedType]:
101
return [
102
- replace_named_type(type_) for type_ in sorted(arr, key=sort_by_name_key)
+ replace_named_type(type_) for type_ in sorted(array, key=sort_by_name_key)
103
]
104
105
def sort_named_type(type_: GraphQLNamedType) -> GraphQLNamedType:
0 commit comments