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
This method of hashing considers directives, but only their presence and arguments. If we want to extend it outside of subgraph queries, it needs to consider how some arguments work, like @requires, because it may introduce more fields in the query, and those fields could have changed
The text was updated successfully, but these errors were encountered:
Fix#4834
This extends the schema aware hashing already employed for subgraph queries
in entity caching, to be calculated for client queries, and look at that hash in
the query planner cache to be able to reuse cached entries across schema
reloads.
This contains:
- an update of the traverse visitor to use an `ExecutableDocument`
(necessary to parse field sets in `key` and `requires` argument
- parses field sets in `@join__type`'s `key` argument and
`@join__field`'s `requires` argument, because they can be affected by
schema updates
- remove the hack around `_entities` operation
- parse subgraph queries using the subgraph schemas extracted from the
supergraph schema
- update query planner cache warm up to check if the query hash changed
This method of hashing considers directives, but only their presence and arguments. If we want to extend it outside of subgraph queries, it needs to consider how some arguments work, like
@requires
, because it may introduce more fields in the query, and those fields could have changedThe text was updated successfully, but these errors were encountered: