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