Apollo gateway apollo federation getting data from external subgraph

I have two subgraph for example, location and menu and one gateway

each subgraph has its own schema(typedefs, resolvers) and this schema build federated schema
so inside menuCreate mutation resolver I have to get location data by id which I get from input

so what is the best way for this senario

1 Like

Are you referring to inter-service communication? If so, this previous discussion might be of interest to you.

https://community.apollographql.com/t/any-recommended-patterns-for-structuring-graphql-mutation-resolver-logic