Skip to content

Commit

Permalink
Added migration section for LocalDate/LocalTime/Date enforced format
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 committed Nov 14, 2024
1 parent 85f39ae commit bd55244
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ Support for .NET Standard 2.0, .NET 6, and .NET 7 has been removed.
- The runtime type for `LocalDateType` and `DateType` has been changed from `DateTime` to `DateOnly`.
- The runtime type for `LocalTimeType` has been changed from `DateTime` to `TimeOnly`.

## LocalDate, LocalTime, and Date scalars enforce a specific format

- `LocalDate`: `yyyy-MM-dd`
- `LocalTime`: `HH:mm:ss`
- `Date`: `yyyy-MM-dd`

Please ensure that your clients are sending date/time strings in the correct format to avoid errors.

# Deprecations

Things that will continue to function this release, but we encourage you to move away from.

0 comments on commit bd55244

Please sign in to comment.