Skip to content

Commit 9dc0d9a

Browse files
committed
Made SchemaExecutor and RootFactory mutable
1 parent 26b13f1 commit 9dc0d9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ type IGraphQLOptions =
3030
abstract member WebsocketOptions : GraphQLTransportWSOptions
3131

3232
type GraphQLOptions<'Root> = {
33-
SchemaExecutor : Executor<'Root>
34-
RootFactory : HttpContext -> 'Root
33+
mutable SchemaExecutor : Executor<'Root>
34+
mutable RootFactory : HttpContext -> 'Root
3535
/// The minimum rented array size to read a message from WebSocket
3636
ReadBufferSize : int
3737
SerializerOptions : JsonSerializerOptions

0 commit comments

Comments
 (0)