You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/FSharp.Data.GraphQL.Server.Middleware/SchemaDefinitions.fs
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,14 @@
1
1
namespaceFSharp.Data.GraphQL.Server.Middleware
2
2
3
3
openSystem
4
+
openSystem.Collections.Generic
5
+
openSystem.Collections.Immutable
6
+
openSystem.Text.Json
4
7
openFSharp.Data.GraphQL
5
8
openFSharp.Data.GraphQL.Types
6
9
openFSharp.Data.GraphQL.Ast
7
10
openFSharp.Data.GraphQL.Errors
8
11
9
-
10
12
/// Contains customized schema definitions for extensibility features.
11
13
[<AutoOpen>]
12
14
moduleSchemaDefinitions =
@@ -117,6 +119,18 @@ module SchemaDefinitions =
117
119
// | :? ObjectListFilter as x -> Ok x
118
120
// | _ -> Error [{ new IGQLError with member _.Message = $"Cannot coerce ObjectListFilter output. '%s{x.GetType().FullName}' is not 'ObjectListFilter'" }]
119
121
122
+
// TODO: Move to shared and make public
123
+
let recprivatejsonElementToInputValue(element :JsonElement)=
0 commit comments