DirectiveHandlerResult
This provides interface for directive handling results. If there are directive blocked by this, should be handled after setCompleted or setFailed called.
Types
Link copied to clipboard
data class CancelPolicy(val cancelAll: Boolean = true, val partialTargets: Set<NamespaceAndName>? = null)
Content copied to clipboard
Functions
Link copied to clipboard
Should be called when directive handled successfully by DirectiveHandler.
Link copied to clipboard
abstract fun setFailed(description: String, cancelPolicy: DirectiveHandlerResult.CancelPolicy = POLICY_CANCEL_ALL)
Content copied to clipboard
Should be called when directive handling failed by DirectiveHandler.