CompiledField

class CompiledField : CompiledSelection

A compiled field from a GraphQL operation

Types

Link copied to clipboard
class Builder(val name: String, val type: CompiledType)

Functions

Link copied to clipboard
fun nameWithArguments(variables: Executable.Variables): String

Returns a String containing the name of this field as well as encoded arguments. For an example: hero({"episode": "Jedi"}) This is mostly used internally to compute records

Link copied to clipboard
fun newBuilder(): CompiledField.Builder
Link copied to clipboard
fun resolveArgument(name: String, variables: Executable.Variables): Any?

Resolves field argument value by name. If the argument contains variables, replace them with their actual value

Properties

Link copied to clipboard
val alias: String?
Link copied to clipboard
val arguments: List<CompiledArgument>
Link copied to clipboard
val condition: List<CompiledCondition>
Link copied to clipboard
val name: String
Link copied to clipboard
val responseName: String
Link copied to clipboard
val selections: List<CompiledSelection>
Link copied to clipboard
val type: CompiledType