apollographql / apollographql/rover

Featuer: Support Multiple Schemas

Open
#2,425 1 comment 2 reactions 0 assignees View on GitHub
blocked :warning: feature 🎉 upstream fix
Dominant language
Rust
Stars
453
Forks
93
Avg merge
1d 21h
Merged PRs (30d)
83

Description

## Description

I'd like to request support for multiple schema files in the `file:` descriptor. Being able to specify multiple schema files for composition is something nearly every tool for GraphQL supports that I've run across in the last few years; including graphql codegen.

Specifically supporting:

```
subgraphs:
account:
routing_url: http://localhost:5011/batman/graphql
schema:
file:
- './primary.graphql'
- './secondary.graphql'
```

Contributor guide

Open the contributing guide

Research direction

Start by tracing how Rover reads the `file:` schema descriptor used for composition, using the configuration example in the issue as the expected input. Done means a subgraph can specify multiple `.graphql` files in `schema.file` and composition accepts them together; no source file or test is named, so identify the relevant implementation and tests first.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, rust
Domain
api, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.