apollographql / apollographql/federation
Apollo Gateway requires custom directives to be declared in every federated service
- Dominant language
- TypeScript
- Stars
- 725
- Forks
- 276
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 1
Description
If we create a custom directive specific to any federated service, the gateway fails to start unless we define the directive in every federated services that is part of our data graph. Is there a workaround to this?
Contributor guide
Research direction
Start by reproducing the gateway startup failure with a custom directive declared in only one federated service. Read the gateway and federated-service setup involved in the data graph, then determine whether the gateway can start without duplicating the declaration in every service. Done means the documented workaround or required behavior is confirmed and covered by an appropriate regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api, backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100