-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
optimize useQuery
result handling
#11954
Merged
Merged
Commits on Jul 11, 2024
-
Coverage shows that this code path was never hit - in the case of a `standby` fetchPolicy, `resultData.current` would already have been reset in `useResubscribeIfNecessary`
Configuration menu - View commit details
-
Copy full SHA for 1a3e4e2 - Browse repository at this point
Copy the full SHA 1a3e4e2View commit details
Commits on Jul 12, 2024
-
move code from
toQueryResult
tosetResult
While there are three code paths to `toQueryResult`, the other two are guaranteed to never have an `errors` property
Configuration menu - View commit details
-
Copy full SHA for b5bd2e1 - Browse repository at this point
Copy the full SHA b5bd2e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3baf15d - Browse repository at this point
Copy the full SHA 3baf15dView commit details -
instead, we calculate and memoize an "override result" in `useObservableSubscriptionResult`
Configuration menu - View commit details
-
Copy full SHA for e29e908 - Browse repository at this point
Copy the full SHA e29e908View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6261246 - Browse repository at this point
Copy the full SHA 6261246View commit details -
Configuration menu - View commit details
-
Copy full SHA for 037ea25 - Browse repository at this point
Copy the full SHA 037ea25View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4161379 - Browse repository at this point
Copy the full SHA 4161379View commit details
Commits on Jul 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 92127f3 - Browse repository at this point
Copy the full SHA 92127f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e39c253 - Browse repository at this point
Copy the full SHA e39c253View commit details -
Configuration menu - View commit details
-
Copy full SHA for a740544 - Browse repository at this point
Copy the full SHA a740544View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2456a9a - Browse repository at this point
Copy the full SHA 2456a9aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.