You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/src/types/scalars.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,10 @@ Juniper has built-in support for:
24
24
*`String` and `&str` as `String`
25
25
*`bool` as `Boolean`
26
26
*`juniper::ID` as `ID`. This type is defined [in the
27
-
spec](http://facebook.github.io/graphql/#sec-ID) as a type that is serialized
27
+
spec](https://spec.graphql.org/October2021#sec-ID) as a type that is serialized
28
28
as a string but can be parsed from both a string and an integer.
29
29
30
-
Note that there is no built-in support for `i64`/`u64`, as the GraphQL spec [doesn't define any built-in scalars for `i64`/`u64` by default](https://spec.graphql.org/June2018/#sec-Int). You may wish to leverage a [custom GraphQL scalar](#custom-scalars) in your schema to support them.
30
+
Note that there is no built-in support for `i64`/`u64`, as the GraphQL spec [doesn't define any built-in scalars for `i64`/`u64` by default](https://spec.graphql.org/October2021#sec-Int). You may wish to leverage a [custom GraphQL scalar](#custom-scalars) in your schema to support them.
Copy file name to clipboardExpand all lines: book/src/types/unions.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ impl Character {
130
130
# fnmain() {}
131
131
```
132
132
133
-
With an external resolver function we can even declare a new [GraphQL union][1] variant where the Rust type is absent in the initial enum definition. The attribute syntax `#[graphql(on VariantType = resolver_fn)]` follows the [GraphQL syntax for dispatching union variants](https://spec.graphql.org/June2018/#example-f8163).
133
+
With an external resolver function we can even declare a new [GraphQL union][1] variant where the Rust type is absent in the initial enum definition. The attribute syntax `#[graphql(on VariantType = resolver_fn)]` follows the [GraphQL syntax for dispatching union variants](https://spec.graphql.org/October2021#example-f8163).
0 commit comments