apollographql / apollographql/apollo-tooling

Only absolute URLs are supported

Open
#1,960 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

Using the Vscode extension
While trying to reload schema it says: Only absolute URLs are supported

apollo.config.js
```
module.exports = {
client: {
service: {
name: 'giftbox',
localSchemaFile: './generated-schema.graphql',
},
includes: ['./src/**/*.ts*'],
excludes: ['./src/generated/graphql.tsx'],
},
}
```

I tried url, endpoint - does not work.

Contributor guide

Open the contributing guide

Research direction

Start with the VSCode extension's schema-reload path and the apollo.config.js example, focusing on localSchemaFile, url, and endpoint handling. Reproduce the error with generated-schema.graphql and the included src/**/*.ts* files; done means schema reload accepts the configured schema source without reporting that only absolute URLs are supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.