Enumeration Casegraphqlswift.graphql 3.0.0GraphQL
millisecondsSince1970
Decode the Date
as UNIX millisecond timestamp from a Map number.
case millisecondsSince1970
Other cases
case deferredToDate
Defer to
Date
for decoding. This is the default strategy.case secondsSince1970
Decode the
Date
as a UNIX timestamp from a Map number.case iso8601
Decode the
Date
as an ISO-8601-formatted string (in RFC 3339 format).case formatted(DateFormatter)
Decode the
Date
as a string parsed by the given formatter.case custom((_ decoder: Decoder) throws -> Date)
Decode the
Date
as a custom value decoded by the given closure.