File tree 2 files changed +17
-3
lines changed
2 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/
9
9
### Added
10
10
11
11
- Support customizing the name of the context type. [ #66 ] ( https://github.com/davidpdrsn/juniper-from-schema/pull/66 )
12
+ - Improve documentation of special case scalar types.
12
13
13
14
### Changed
14
15
Original file line number Diff line number Diff line change 13
13
//! - [GraphQL features](#graphql-features)
14
14
//! - [The `ID` type](#the-id-type)
15
15
//! - [Custom scalar types](#custom-scalar-types)
16
+ //! - [Special case scalars](#special-case-scalars)
16
17
//! - [Interfaces](#interfaces)
17
18
//! - [Union types](#union-types)
18
19
//! - [Input objects](#input-objects)
260
261
//! pub struct Cursor(pub String);
261
262
//! ```
262
263
//!
263
- //! `Date` and `DateTime` are the two exceptions to this. `Date` gets converted into
264
- //! [`chrono::naive::NaiveDate`](https://docs.rs/chrono/0.4.6/chrono/naive/struct.NaiveDate.html)
265
- //! and `DateTime` into
264
+ //! ## Special case scalars
265
+ //!
266
+ //! A couple of scalar names have special meaning. Those are:
267
+ //!
268
+ //! - `Url` becomes
269
+ //! [`url::Url`](https://docs.rs/url/2.1.0/url/struct.Url.html).
270
+ //! - `Uuid` becomes
271
+ //! [`uuid::Uuid`](https://docs.rs/uuid/0.7.4/uuid/struct.Uuid.html).
272
+ //! - `DateTime` becomes
266
273
//! [`chrono::DateTime<chrono::offset::Utc>`](https://docs.rs/chrono/0.4.6/chrono/struct.DateTime.html).
274
+ //! - `Date` becomes
275
+ //! [`chrono::naive::NaiveDate`](https://docs.rs/chrono/0.4.6/chrono/naive/struct.NaiveDate.html).
276
+ //!
277
+ //! Juniper doesn't support [`chrono::Date`](https://docs.rs/chrono/0.4.9/chrono/struct.Date.html)
278
+ //! so therefore this library cannot support that either. You can read about Juniper's supported
279
+ //! integrations [here](https://docs.rs/juniper/0.13.1/juniper/integrations/index.html).
267
280
//!
268
281
//! ## Interfaces
269
282
//!
You can’t perform that action at this time.
0 commit comments