Skip to content

fetchMore with fetchPolicy: "no-cache" makes two requests #11965

@username14415

Description

@username14415

Issue Description

fetchMore useQuery with fetchPolicy: "no-cache" just makes two requests. One with variables and the second request is with default variables. I can't post a link to reproduction, the requests are visible on the backend. NextJS 14.2 dev mode.

Link to Reproduction

Reproduction Steps

const { loading, fetchMore } = useQuery(GET_MESSAGES, { fetchPolicy: "no-cache", onCompleted: handleCompleted, onError: handleError, variables: { slug: params.slug, }, });

@apollo/client version

3.10.8

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions