add Arg
Adds an argument to the field
Parameters
name
Name of the Argument
type Name
Name of the type used by the argument. Note: The string is passed as is.
See also
Adds an argument to the field
Parameters
name
Name of the Argument
type Name
Name of the type used by the argument.
type
ArgumentType to determine formatting to be put on the typeName. ArgumentType.STRING_LITERAL becomes "value". ArgumentType.NUMBER and ArgumentType.TYPE are passed as is
See also
Adds a variable as an argument to the field. This will automatically register the variable for use in the query or mutation.
Parameters
name
Name of the Argument
variable
Variable to use.
Adds an argument to the field
Parameters
name
Name of the Argument
value
Name of the type used by the argument. Note: The string is passed as is.