generateOptionalOperationVariables

abstract val generateOptionalOperationVariables: Property<Boolean>

Whether to generate operation variables as com.apollographql.apollo3.api.Optional

Using com.apollographql.apollo3.api.Optional allows to omit the variables if needed but makes the callsite more verbose in most cases.

Default: true