apollographql / federation-next

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

Add static assertions that Supergraph and QueryPlanner are thread-safe #236

Closed SimonSapin closed 5 months ago

SimonSapin commented 5 months ago

Thread-safe meaning implementing the Send and Sync traits. They already are, but with this PR we won’t regress accidentally.

The consenquence is that we should keep using Arc over Rc, Mutex or RwLock over Cell or RefCell, etc.