apollographql / federation-rs

Contains source code for Apollo Federation's Rust<--> JavaScript interop
Other
35 stars 23 forks source link

🐛 fix subgraph location from ast #567

Closed Jephuff closed 4 weeks ago

Jephuff commented 4 weeks ago

We were returning None if there was no location, even if we had a subgraph. If there is a subgraph, but no location we still want to return Some and just have a None range, this way the error can still be mapped to the subgraph instead of being treated as a global.