argument

open override fun argument(name: String, value: Any?)

Adds the given argument to the com.apollographql.apollo.compiler.ApolloCompilerPlugin. If two arguments are added with the same name, the second one overwrites the first one.

Arguments are added as input to the codegen task.

Parameters

name

the name of the argument

value

the value for this argument

See also