apollographql / federation-next

Moved to the Router repository
https://github.com/apollographql/router/tree/dev/apollo-federation
Other
19 stars 1 forks source link

Remove unnecessary generics #245

Closed goto-bus-stop closed 7 months ago

goto-bus-stop commented 7 months ago

Just a little cleanup to make this read nicer...

Since Names implicitly deref to &str, hash the same, and can do equality comparisons, we can use the concrete type &str instead of specifying multiple generic trait bounds.