Skip to content

Commit 46e46b3

Browse files
committed
Removed unnecessary ObjectListFilterValidationException
1 parent 2b531ac commit 46e46b3

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/FSharp.Data.GraphQL.Server.Middleware/ObjectListFilter.fs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ namespace FSharp.Data.GraphQL.Server.Middleware
33
open System
44
open System.Collections
55
open System.Text.Json
6-
open FSharp.Data.GraphQL
76

87
/// A filter definition for a field value.
98
type FieldFilter<'Val> = { FieldName : string; Value : 'Val }
@@ -34,19 +33,11 @@ type ObjectListFilter =
3433
| OfTypes of Type list
3534
| FilterField of FieldFilter<ObjectListFilter>
3635

37-
open System.Collections.Generic
3836
open System.Linq.Expressions
3937
open System.Runtime.InteropServices
4038

4139
type private CompareDiscriminatorExpression<'T, 'D> = Expression<Func<'T, 'D, bool>>
4240

43-
/// <summary>
44-
/// Validation error raised when an incoming <see cref="ObjectListFilter"/> cannot be
45-
/// translated to a LINQ expression against the queried entity type.
46-
/// </summary>
47-
type ObjectListFilterValidationException (message : string, [<Optional>] extensions : Dictionary<string, obj> | null) =
48-
inherit GQLMessageExceptionBase (ErrorKind.Validation, message, extensions)
49-
5041
/// <summary>
5142
/// Optional configuration for LINQ translation including discriminator handling.
5243
/// </summary>

0 commit comments

Comments
 (0)