apollographql / apollographql/apollo-tooling
Only absolute URLs are supported
- 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
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