-
-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also set queryId from sha256 hash if query is provided
This is necessary to support automatic persisted queries (https://www.apollographql.com/docs/apollo-server/performance/apq/) in the way outlined by #1372. Without this fix, the Apollo-style automatic query hash is not converted to a query id when a query is also present. This means the persistedQueryLoader is still not called to allow saving the query, even after the fix from #1372.
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters