resolveArgument

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.