Skip to content

Commit a3edb20

Browse files
committed
fixup! Change StartsWith/EndsWith to use StringComparer; open System.Collections at top
1 parent 2dbd474 commit a3edb20

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ type ObjectListFilter =
2222
| And of ObjectListFilter * ObjectListFilter
2323
| Or of ObjectListFilter * ObjectListFilter
2424
| Not of ObjectListFilter
25-
| Equals of Filter : FieldFilter<System.IComparable> * Comparer : IComparer
26-
| GreaterThan of FieldFilter<System.IComparable>
27-
| GreaterThanOrEqual of FieldFilter<System.IComparable>
28-
| LessThan of FieldFilter<System.IComparable>
29-
| LessThanOrEqual of FieldFilter<System.IComparable>
25+
| Equals of Filter : FieldFilter<IComparable> * Comparer : IComparer
26+
| GreaterThan of FieldFilter<IComparable>
27+
| GreaterThanOrEqual of FieldFilter<IComparable>
28+
| LessThan of FieldFilter<IComparable>
29+
| LessThanOrEqual of FieldFilter<IComparable>
3030
| In of FieldFilter<obj list>
3131
| StartsWith of Filter : FieldFilter<string> * Comparer : StringComparer
3232
| EndsWith of Filter : FieldFilter<string> * Comparer : StringComparer
33-
| Contains of Filter : FieldFilter<System.IComparable> * Comparer : IComparer
33+
| Contains of Filter : FieldFilter<string> * Comparer : StringComparer
3434
| OfTypes of Type list
3535
| FilterField of FieldFilter<ObjectListFilter>
3636

0 commit comments

Comments
 (0)