Skip to content

Commit d6221ac

Browse files
committed
Fixed warning that the rule will never match
1 parent aefce22 commit d6221ac

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/FSharp.Data.GraphQL.Client/Serialization.fs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ module Serialization =
6262
| (Option et | et) ->
6363
try Enum.Parse(et, s) |> downcastType t
6464
with _ -> failwithf "Error parsing JSON value: %O is a Enum type, but parsing of value \"%s\" failed." t s
65-
| _ -> failwithf "Error parsing JSON value: %O is not a enum type." t
6665
| _ -> failwithf "Error parsing JSON value: %O is not a string type." t
6766

6867
let private downcastBoolean (t : Type) b =

0 commit comments

Comments
 (0)