resolveArgument

@ApolloDeprecatedSince(version = ApolloDeprecatedSince.Version.v4_0_0)
fun resolveArgument(name: String, variables: Executable.Variables): Any?

Deprecated

This function does not distinguish between null and absent arguments. Use argumentValue instead

Replace with

argumentValue(name = name, variables = variables)

Resolves field argument value by name.

Return

Optional.Absent if no runtime value is present for this argument else returns the argument value with variables substituted for their values.