Skip to content

docs(graphql): use empty proxy targets - #153

Merged
josegironn merged 2 commits into
mainfrom
fix/graphql-empty-proxy-example
Sep 5, 2026
Merged

docs(graphql): use empty proxy targets#153
josegironn merged 2 commits into
mainfrom
fix/graphql-empty-proxy-example

Conversation

@josegironn

Copy link
Copy Markdown
Contributor

Use an empty proxy target to call the configured GraphQL endpoint without adding a slash. Show proxyFetch("") directly and use uri: () => "" with Apollo, whose plain empty-string URI falls back to /graphql.

Depends on the companion mono-builder empty-target fix being deployed before this guidance is released.

Validation: checked Apollo's upstream selectURI implementation and git diff --check. The skill validator could not run because local Python lacks PyYAML; frontmatter is unchanged.

@josegironn
josegironn merged commit cac440b into main Sep 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant