CustomScalarAdapters

A wrapper around a MapAdapter> used to retrieve custom scalar adapters at runtime.

For historical reasons, it also contains other context used when parsing response. See https://github.com/apollographql/apollo-kotlin/pull/3813

Types

Link copied to clipboard
class Builder
Link copied to clipboard

Properties

Link copied to clipboard

Defer identifiers used to determine whether the parser must parse @defer fragments

Link copied to clipboard

Errors to use with @catch

Link copied to clipboard

Operation variables used to determine whether the parser must parse @skip/@include fragments

Link copied to clipboard
open override val key: ExecutionContext.Key<*>

A key of this execution context element.

Functions

Link copied to clipboard
fun <T : Any> adapterFor(name: String): Adapter<T>?
Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, ExecutionContext.Element) -> R): R

Accumulates entries of this context starting with initial value and applying operation from left to right to current accumulator value and each element of this context.

Link copied to clipboard
open operator override fun <E : ExecutionContext.Element> get(key: ExecutionContext.Key<E>): E?

Returns the element with the given key from this context or null.

Link copied to clipboard
open override fun minusKey(key: ExecutionContext.Key<*>): ExecutionContext

Returns a context containing elements from this context, but without an element with the specified key.

Link copied to clipboard
Link copied to clipboard
open operator fun plus(context: ExecutionContext): ExecutionContext

Returns a context containing elements from this context and elements from other context. The elements from this context with the same key as in the other one are dropped.

Link copied to clipboard