apollographql / apollographql/apollo-tooling

Add typescript support for apollo.config.ts

Open
#1,119 4 comments 14 reactions 0 assignees View on GitHub
:computer: component - language-server :tada: feature
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

Creating a new config with the proper fields is quite burdensome, since the fields allowed are non-obvious and error messaging could be improved. Adding typescript to the apollo config would provide editor completion and an understanding of the acceptable fields/values.

This issue is a feature request for a technical solution, so there may be a better way to accomplish this task, such as a linter

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified in the issue. Start by tracing how apollo.config files are discovered, parsed, and validated, then determine whether TypeScript types or a linter best provides completion and accepted values; done means the supported configuration receives useful editor guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
cli, developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.