apollographql / apollo-rs

Spec compliant GraphQL Tools in Rust.
Apache License 2.0
566 stars 43 forks source link

Change `Implementers` fields from `HashMap` to `IndexMap` #898

Closed SimonSapin closed 2 weeks ago

SimonSapin commented 2 weeks ago

This struct returned by Schema::implementers_map maps interface types to (object or interface) types that implement that interface. Now the ordering of implementers is deterministic and matches their definition order in the schema. This helps fuzzing, where the same entropy source should generate the same test case.