Join us from October 8-10 in New York City to learn the latest tips, trends, and news about GraphQL Federation and API platform engineering.Join us for GraphQL Summit 2024 in NYC
Docs
Start for Free
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
Rate articleRateEdit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc., d/b/a Apollo GraphQL.

Privacy Policy

Company