Module juniper::integrations::chrono
[−]
[src]
GraphQL support for chrono types.
Supported types
Rust Type | JSON Serialization | Notes |
---|---|---|
DateTime<FixedOffset> |
RFC3339 string | |
DateTime<Utc> |
RFC3339 string | |
NaiveDate |
RFC3339 string | |
NaiveDateTime |
float (unix timestamp) | JSON numbers (i.e. IEEE doubles) are not |
precise enough for nanoseconds. | ||
Values will be truncated to microsecond | ||
resolution. |