router icon indicating copy to clipboard operation
router copied to clipboard

support for multiple supergraph contracts

Open Geal opened this issue 4 years ago • 3 comments

in some use cases we might need to choose which supergraph (and subgraphs, etc) is used depending on a condition in the request (hostname, HTTP header, etc) and the Apollo Studio Contracts feature is the most motivating reason to support this as today it requires running multiple routers.

keywords: dynamic, schema

Geal avatar Oct 28 '21 07:10 Geal

Could be a good candidate for a Tower layer!

abernix avatar Feb 14 '22 09:02 abernix

@abernix Any thoughts on this? We want to choose a scheme based on the version specified in the headers

flymedllva avatar Sep 20 '23 16:09 flymedllva

Just commenting to add some SEO terms so we don't create multiple issues:

Multiple supergraphs, many contracts, dynamic supergraph fields, dynamic contracts, per request supergraph

smyrick avatar Apr 03 '24 20:04 smyrick