File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
website/src/docs/hotchocolate Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,14 @@ The `DateTime` scalar will now enforce a specific format. The time and offset ar
171171
172172Please ensure that your clients are sending date /time strings in the correct format to avoid errors .
173173
174+ You can opt out of the format check with the following code :
175+
176+ ```csharp
177+ builder .Services
178+ .AddGraphQLServer ()
179+ .AddType (new DateTimeType (disableFormatCheck : true ));
180+ ```
181+
174182## Persisted Queries renamed to Persisted Operations
175183
176184### Packages renamed
Original file line number Diff line number Diff line change @@ -171,6 +171,14 @@ The `DateTime` scalar will now enforce a specific format. The time and offset ar
171171
172172Please ensure that your clients are sending date /time strings in the correct format to avoid errors .
173173
174+ You can opt out of the format check with the following code :
175+
176+ ```csharp
177+ builder .Services
178+ .AddGraphQLServer ()
179+ .AddType (new DateTimeType (disableFormatCheck : true ));
180+ ```
181+
174182## Persisted Queries renamed to Persisted Operations
175183
176184### Packages renamed
Original file line number Diff line number Diff line change @@ -171,6 +171,14 @@ The `DateTime` scalar will now enforce a specific format. The time and offset ar
171171
172172Please ensure that your clients are sending date /time strings in the correct format to avoid errors .
173173
174+ You can opt out of the format check with the following code :
175+
176+ ```csharp
177+ builder .Services
178+ .AddGraphQLServer ()
179+ .AddType (new DateTimeType (disableFormatCheck : true ));
180+ ```
181+
174182## Persisted Queries renamed to Persisted Operations
175183
176184### Packages renamed
You can’t perform that action at this time.
0 commit comments