Skip to content

Commit

Permalink
Added DateTime scalar breaking change to migration guide (#7359)
Browse files Browse the repository at this point in the history
  • Loading branch information
glen-84 authored Aug 12, 2024
1 parent 9a08ac2 commit ba0d021
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ The interface `IQueryResultBuilder` and its implementations were replaced with `

The interface `IQueryResultBuilder` and its implementations were replaced with `OperationResultBuilder` which produces an `OperationResult` on `Build()`.

## DateTime scalar enforces a specific format

The `DateTime` scalar will now enforce a specific format. The time and offset are now required, and fractional seconds are limited to 7. This aligns it with the DateTime Scalar spec (<https://www.graphql-scalars.com/date-time/>), with the one difference being that fractions of a second are optional, and 0-7 digits may be specified.

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 ba0d021

Please sign in to comment.