apollographql / apollographql/apollo-client-integrations

`useSuspenseQuery` with `errorPolicy: 'all'`

Open
#52 4 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
556
Forks
53
PR merge metrics
No merged PRs in 30d

Description

When I use `useSuspenseQuery` with `errorPolicy: 'all'`, rendering errors occur. The server receives the error, but on the client, the error is undefined.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported useSuspenseQuery behavior with errorPolicy set to 'all' in the Next.js App Router, comparing server and client rendering. Trace where the server receives the error and where the client value becomes undefined; done means client rendering exposes the error without rendering failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, next.js, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.