Class CompilerParams
-
- All Implemented Interfaces:
public final class CompilerParamsCompilerParams contains all the parameters needed to invoke the apollo compiler.
The setters are present for backward compatibility with kotlin build scripts and will go away in a future release.
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String, ScalarMapping>scalarsMapping
-
Constructor Summary
Constructors Constructor Description CompilerParams()
-
Method Summary
Modifier and Type Method Description final Map<String, ScalarMapping>getScalarsMapping()For custom scalar types like Date, map from the GraphQL type to the java/kotlin type. final UnitsetScalarsMapping(Map<String, ScalarMapping> scalarsMapping)For custom scalar types like Date, map from the GraphQL type to the java/kotlin type. -
-
Method Detail
-
getScalarsMapping
final Map<String, ScalarMapping> getScalarsMapping()
For custom scalar types like Date, map from the GraphQL type to the java/kotlin type.
Default value: the empty map
-
setScalarsMapping
final Unit setScalarsMapping(Map<String, ScalarMapping> scalarsMapping)
For custom scalar types like Date, map from the GraphQL type to the java/kotlin type.
Default value: the empty map
-
-
-
-