File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/FSharp.Data.GraphQL.Server Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ open System.Collections.Generic
1313open System.Reactive .Linq
1414open System.Reactive .Subjects
1515open System.Text .Json
16+ open System.Text .Json .Serialization
1617
1718type private Channel = ISubject< obj>
1819
@@ -135,7 +136,7 @@ type SchemaConfig =
135136 | ex -> [{ new IGQLError with member _.Message = ex.Message }]
136137 SubscriptionProvider = SchemaConfig.DefaultSubscriptionProvider()
137138 LiveFieldSubscriptionProvider = SchemaConfig.DefaultLiveFieldSubscriptionProvider()
138- JsonOptions = JsonSerializerOptions .Default }
139+ JsonOptions = JsonFSharpOptions .Default() .ToJsonSerializerOptions () }
139140 /// <summary>
140141 /// Default SchemaConfig with buffered stream support.
141142 /// This config modifies the stream directive to have two optional arguments: 'interval' and 'preferredBatchSize'.
You can’t perform that action at this time.
0 commit comments