We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d80b77c commit 251cfccCopy full SHA for 251cfcc
src/FSharp.Data.GraphQL.Shared/Errors.fs
@@ -112,7 +112,7 @@ type GQLProblemDetails = {
112
static member SetErrorKind (errorKind : ErrorKind) (extensions : IReadOnlyDictionary<string, obj>) =
113
let mutableExtensions =
114
match extensions with
115
- | :? IDictionary<string, obj> as extensions -> extensions
+ | :? IDictionary<string, obj> as extensions when not extensions.IsReadOnly -> extensions
116
| _ ->
117
#if NETSTANDARD2_0
118
let dictionary = Dictionary<string, obj> (extensions.Count)
0 commit comments