/
Launch Apollo Studio


ENUM

ApolloCodegenOptions.CustomScalarFormat

public enum CustomScalarFormat: Equatable

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

Cases

none

case none

Uses a default type instead of a custom scalar.

passthrough

case passthrough

Use your own types for custom scalars.

passthroughWithPrefix(_:)

case passthroughWithPrefix(String)

Use your own types for custom scalars with a prefix.

Edit on GitHub