Configure Apollo Federation Data Source
Apollo Federation data source, you can introspect multiple
SubGraphs, and WunderGraph will automatically combine them into a
SuperGraph, applies namespacing and will add the resulting GraphQL Schema to your virtual Graph.
WunderGraph supports Apollo Federation with Subscriptions out of the box. No changes are required to your code.
Simply add all the URLs of your SubGraphs to the
upstreams array. Aside from the
url, you can also define a headers configuration, you can configure mTLS, or set a different URL for subscriptions by setting
Introspecting protected graphql apis
Refer to the
configure introspection for protected API guide.