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
| EmailAddress | Email address, represented as UTF-8 character sequences, as defined in [RFC5322](https://tools.ietf.org/html/rfc5322)|
307
312
| HexColor | HEX color code |
308
-
| Hsl | CSS HSL color as defined [here][1]|
309
-
| Hsla | CSS HSLA color as defined [here][1]|
313
+
| Hsl | CSS HSL color as defined [here][2]|
314
+
| Hsla | CSS HSLA color as defined [here][2]|
310
315
| IPv4 | IPv4 address as defined [here](https://en.wikipedia.org/wiki/IPv4)|
311
316
| IPv6 | IPv6 address as defined in [RFC8064](https://tools.ietf.org/html/rfc8064)|
312
317
| Isbn | ISBN-10 or ISBN-13 number as defined [here](https://en.wikipedia.org/wiki/International_Standard_Book_Number)|
313
318
| Latitude | Decimal degrees latitude number |
314
319
| Longitude | Decimal degrees longitude number |
315
320
| LocalCurrency | Currency string |
316
-
| LocalDate | ISO date string, represented as UTF-8 character sequences yyyy-mm-dd, as defined in [RFC3339][2]|
317
-
| LocalTime | Local time string (i.e., with no associated timezone) in 24-hr `HH:mm:ss`|
318
321
| MacAddress | IEEE 802 48-bit (MAC-48/EUI-48) and 64-bit (EUI-64) Mac addresses, represented as UTF-8 character sequences, as defined in [RFC7042][3] and [RFC7043][4]|
319
322
| NegativeFloat | Double‐precision fractional value less than 0 |
320
323
| NegativeInt | Signed 32-bit numeric non-fractional with a maximum of -1 |
@@ -335,8 +338,7 @@ To use these scalars we have to add the `HotChocolate.Types.Scalars` package.
335
338
| UnsignedShort | Unsigned 16‐bit numeric non‐fractional value greater than or equal to 0 and smaller or equal to 65535. |
Copy file name to clipboardExpand all lines: website/src/docs/hotchocolate/v15/migrating/migrate-from-14-to-15.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,15 @@ Use the `LocalDate` type if you do not want the date to be converted to universa
41
41
42
42
Please ensure that your clients are sending date/time strings in the correct format to avoid errors.
43
43
44
+
## LocalDate and LocalTime scalars moved
45
+
46
+
`LocalDate` and `LocalTime` have been moved from `HotChocolate.Types.Scalars` to `HotChocolate.Types`, and are therefore available without installing the additional package.
47
+
48
+
## DateOnly and TimeOnly binding change
49
+
50
+
-`DateOnly` is now bound to `LocalDateType` instead of `DateType`.
51
+
-`TimeOnly` is now bound to `LocalTimeType` instead of `TimeSpanType`.
52
+
44
53
# Deprecations
45
54
46
55
Things that will continue to function this release, but we encourage you to move away from.
0 commit comments