@PublicApi public interface PersistedQueryCacheMiss extends java.util.function.Function<java.lang.String,PreparsedDocumentEntry>
PersistedQueryCache
implementation
then you are required to call back on the provided instance of this interfaceModifier and Type | Method and Description |
---|---|
PreparsedDocumentEntry |
apply(java.lang.String queryToBeParsedAndValidated)
You give back the missing query text and graphql-java will compile and validate it.
|
PreparsedDocumentEntry apply(java.lang.String queryToBeParsedAndValidated)
apply
in interface java.util.function.Function<java.lang.String,PreparsedDocumentEntry>
queryToBeParsedAndValidated
- the query text to be parsed and validated