You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order for automatic cache updates to work correctly, Apollo (by default) requires that the id and __typename fields are provided in queries. It is very easy to forget to do this, often leading to subtle bugs that are annoying to track down.
Since this loader has access to the graphql schema, and therefore knows which types have a field of type ID, it could it be configured to auto-append the id field wherever it is needed in a query. This would be extremely helpful!
The text was updated successfully, but these errors were encountered:
In order for automatic cache updates to work correctly, Apollo (by default) requires that the id and __typename fields are provided in queries. It is very easy to forget to do this, often leading to subtle bugs that are annoying to track down.
Since this loader has access to the graphql schema, and therefore knows which types have a field of type ID, it could it be configured to auto-append the id field wherever it is needed in a query. This would be extremely helpful!
The text was updated successfully, but these errors were encountered: