Docs
Launch GraphOS Studio
You're viewing documentation for a previous version of this software. Switch to the latest stable version.


ENUM

InputValue

public indirect enum InputValue

Represents an input value to an on a GraphQLField's FieldArguments.

Cases

scalar(_:)

case scalar(ScalarType)

A direct input value, valid types are String, Int Float and Bool. For enum input values, the enum cases's rawValue as a String should be used.

variable(_:)

case variable(String)

A input value to be evaluated using the 's variables dictionary at runtime.

list(_:)

case list([InputValue])

A "List" input value.

object(_:)

case object([String: InputValue])

A GraphQL "InputObject" input value. Represented as a dictionary of input values.

none

case none

A null input value.

Next
Introduction
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company