Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watchFragment reports result as complete when from object is not identifiable #12003

Open
jerelmiller opened this issue Aug 14, 2024 · 0 comments
Labels

Comments

@jerelmiller
Copy link
Member

Issue Description

When running client.watchFragment, the result returned from the observable reports the result as complete: true when the from object is not identifiable (i.e. cache.identify returns undefined). The data object is empty and is correct, but we should also reflect this in the complete and missing properties as well.

Link to Reproduction

#12002

Reproduction Steps

See the failing test for the example

@apollo/client version

3.11.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant