You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

Apollo Docs


GraphQLVariable(_:)

Swift
1public func GraphQLVariable(_ name: String) -> InputValue

For backwards compatibility with legacy codegen. The GraphQLVariable class has been replaced by InputValue.variable

Feedback

Edit on GitHub

Forums