apollographql / apollographql/federation
Allow extra fields in serviceList
- Dominant language
- TypeScript
- Stars
- 725
- Forks
- 276
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 1
Description
Package version: apollo-gateway 0.10.8
The config currently allows defining your own subclass of `GraphQLDataSource` with `buildService`, but the `serviceList` field does not allow any objects with fields other than `name` and `url`. It would be nice to be able to set extra parameters for these custom data sources.
Contributor guide
Research direction
Start by tracing how apollo-gateway 0.10.8 validates the serviceList field and how buildService creates GraphQLDataSource instances. Confirm how serviceList entries reach custom data sources; done means entries with fields beyond name and url are accepted and those extra parameters are available to the custom data source.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100