GraphContainer

constructor(data: T? = null, errors: List<GraphError>? = null, extensions: Map<Any, Any>? = null)(source)

Parameters

data

The successful response data, or null if the response contains only errors.

errors

A list of GraphQL errors, or null if the response is successful. Each error is deserialized via GraphError.

extensions

The response extensions map. Gson-only; @Transient for kotlinx.