Skip to content

Commit af87160

Browse files
pkesexperiandri
authored andcommitted
Fix TimeSpan.FromMilliseconds ambiguity with net10.0 (#547)
1 parent 85a9d8c commit af87160

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

RELEASE_NOTES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,4 +235,5 @@
235235
### 3.1.0 - Unreleased
236236

237237
* Added `TimeOnly` GraphQL type
238-
* Excluded `GraphQLWebSocketMiddleware` from exception stack trace if request not a Web Socket
238+
* Excluded `GraphQLWebSocketMiddleware` from exception stack trace if request not a Web Socket
239+
* Changed `GraphQLOptionsDefaults.WebSocketConnectionInitTimeoutInMs` const type to `double`

src/FSharp.Data.GraphQL.Server.AspNetCore/GraphQLOptions.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module GraphQLOptionsDefaults =
1313

1414
let [<Literal>] ReadBufferSize = 4096
1515
let [<Literal>] WebSocketEndpoint = "/ws"
16-
let [<Literal>] WebSocketConnectionInitTimeoutInMs = 3000
16+
let [<Literal>] WebSocketConnectionInitTimeoutInMs = 3000.0
1717

1818
module GraphQLOptions =
1919

0 commit comments

Comments
 (0)