-
Notifications
You must be signed in to change notification settings - Fork 163
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
Use queryId
as id
for queries
#1438
base: jerel/query-status
Are you sure you want to change the base?
Conversation
#652 Bundle Size — 1.29MiB (+0.8%).Warning Bundle contains 13 duplicate packages – View duplicate packages Bundle metrics
Bundle size by type
Bundle analysis report Branch jerel/use-query-id Project dashboard |
@@ -46,6 +46,7 @@ export interface SerializedError { | |||
} | |||
|
|||
export type QueryInfo = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we rename this type at some point? It's a bit of a red herring since we have a type of the same name over in AC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
Switches the value of
id
used for queries to thequeryId
its associated with in Apollo Client rather than its index in the map. This should allow us to build additional functionality in the future that targets the proper query rather than guessing based on its index in the map.