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
Copy file name to clipboardExpand all lines: src/main/java/graphql/execution/preparsed/persisted/PersistedQueryCache.java
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,14 @@ public interface PersistedQueryCache {
19
19
* If its present in cache then it must return a PreparsedDocumentEntry where {@link graphql.execution.preparsed.PreparsedDocumentEntry#getDocument()}
20
20
* is already parsed and validated. This will be passed onto the graphql engine as is.
21
21
* <p>
22
-
* If its a valid query id but its no present in cache, (cache miss) then you need to call back the "onCacheMiss" function with associated query text.
23
-
* This will be compiled and validated by the graphql engine and the a PreparsedDocumentEntry will be passed back ready for you to cache it.
22
+
* If it's a valid query id but its no present in cache, (cache miss) then you need to call back the "onCacheMiss" function with associated query text.
23
+
* This will be compiled and validated by the graphql engine and the PreparsedDocumentEntry will be passed back ready for you to cache it.
24
24
* <p>
25
-
* If its not a valid query id then throw a {@link graphql.execution.preparsed.persisted.PersistedQueryNotFound} to indicate this.
25
+
* If it's not a valid query id then throw a {@link graphql.execution.preparsed.persisted.PersistedQueryNotFound} to indicate this.
26
26
*
27
27
* @param persistedQueryId the persisted query id
28
28
* @param executionInput the original execution input
29
-
* @param onCacheMiss the call back should it be a valid query id but its not currently not in the cache
29
+
* @param onCacheMiss the call back should it be a valid query id but it's not currently in the cache
30
30
* @return a parsed and validated PreparsedDocumentEntry where {@link graphql.execution.preparsed.PreparsedDocumentEntry#getDocument()} is set
31
31
* @throws graphql.execution.preparsed.persisted.PersistedQueryNotFound if the query id is not know at all and you have no query text
32
32
*
@@ -42,14 +42,14 @@ public interface PersistedQueryCache {
42
42
* If its present in cache then it must return a PreparsedDocumentEntry where {@link graphql.execution.preparsed.PreparsedDocumentEntry#getDocument()}
43
43
* is already parsed and validated. This will be passed onto the graphql engine as is.
44
44
* <p>
45
-
* If its a valid query id but its no present in cache, (cache miss) then you need to call back the "onCacheMiss" function with associated query text.
46
-
* This will be compiled and validated by the graphql engine and the a PreparsedDocumentEntry will be passed back ready for you to cache it.
45
+
* If it's a valid query id but its no present in cache, (cache miss) then you need to call back the "onCacheMiss" function with associated query text.
46
+
* This will be compiled and validated by the graphql engine and the PreparsedDocumentEntry will be passed back ready for you to cache it.
47
47
* <p>
48
-
* If its not a valid query id then throw a {@link graphql.execution.preparsed.persisted.PersistedQueryNotFound} to indicate this.
48
+
* If it's not a valid query id then throw a {@link graphql.execution.preparsed.persisted.PersistedQueryNotFound} to indicate this.
49
49
*
50
50
* @param persistedQueryId the persisted query id
51
51
* @param executionInput the original execution input
52
-
* @param onCacheMiss the call back should it be a valid query id but its not currently not in the cache
52
+
* @param onCacheMiss the call back should it be a valid query id but it's not currently in the cache
53
53
* @return a promise to parsed and validated {@link PreparsedDocumentEntry} where {@link graphql.execution.preparsed.PreparsedDocumentEntry#getDocument()} is set
54
54
* @throws graphql.execution.preparsed.persisted.PersistedQueryNotFound if the query id is not know at all and you have no query text
0 commit comments