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.


EXTENSION

InputValue

extension InputValue: ExpressibleByNilLiteral

Methods

init(nilLiteral:)

@inlinable public init(nilLiteral: ())

init(stringLiteral:)

@inlinable public init(stringLiteral value: StringLiteralType)

Parameters

NameDescription
valueThe value of the new instance.

init(integerLiteral:)

@inlinable public init(integerLiteral value: IntegerLiteralType)

Parameters

NameDescription
valueThe value to create.

init(floatLiteral:)

@inlinable public init(floatLiteral value: FloatLiteralType)

Parameters

NameDescription
valueThe value to create.

init(booleanLiteral:)

@inlinable public init(booleanLiteral value: BooleanLiteralType)

Parameters

NameDescription
valueThe value of the new instance.

init(arrayLiteral:)

@inlinable public init(arrayLiteral elements: InputValue...)

init(dictionaryLiteral:)

public init(dictionaryLiteral elements: (String, InputValue)...)
Next
Introduction
Rate articleRateEdit on GitHubEditForumsDiscord

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

Privacy Policy

Company