Skip to content

Commit 9a658ef

Browse files
committed
PR fixes
1 parent c802476 commit 9a658ef

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/FSharp.Data.GraphQL.Shared/TypeSystem.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ and ExecutionContext = {
905905
this.Errors.AddOrUpdate(
906906
fieldContext,
907907
addValueFactory = (fun _ -> ConcurrentBag (Seq.singleton error)),
908-
updateValueFactory = (fun _ (bag)-> bag.Add error; bag)
908+
updateValueFactory = (fun _ bag -> bag.Add error; bag)
909909
)
910910
|> ignore
911911

tests/FSharp.Data.GraphQL.Tests/ExecutionTests.fs

-1
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,6 @@ let ``Execution handles errors: additional error added when exception is rised i
564564
"Type", [
565565
Define.Field("inner", InnerNonNullableExceptionObjType, fun _ x -> x.Inner)
566566
]))
567-
568567
let expectedErrors =
569568
[
570569
GQLProblemDetails.CreateWithKind ("Fatal error", Execution, [ box "inner"; "kaboom" ])

0 commit comments

Comments
 (0)