You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

ApolloCodegenOptions.CustomScalarFormat


ENUM

ApolloCodegenOptions.CustomScalarFormat

Swift
1public enum CustomScalarFormat: Equatable

Enum to select how to handle properties using a custom scalar from the schema.

Cases

none

Swift
1case none

Uses a default type instead of a custom scalar.

passthrough

Swift
1case passthrough

Use your own types for custom scalars.

passthroughWithPrefix(_:)

Swift
1case passthroughWithPrefix(String)

Use your own types for custom scalars with a prefix.

Feedback

Edit on GitHub

Forums