File tree Expand file tree Collapse file tree
src/FSharp.Data.GraphQL.Server.Middleware Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,10 +132,10 @@ module ObjectListFilter =
132132 let ( === ~ ) fname ( value : string ) = Equals ({ FieldName = fname ; Value = value }, StringComparer.OrdinalIgnoreCase )
133133
134134 /// Creates a new ObjectListFilter representing a case - insensitive STARTS WITH operation on a string value.
135- let ( =@@ ~ ) fname value = StartsWith ({ FieldName = fname ; Value = value }, StringComparer.OrdinalIgnoreCase )
135+ let ( =@@ ~ ) fname ( value : string ) = StartsWith ({ FieldName = fname ; Value = value }, StringComparer.OrdinalIgnoreCase )
136136
137137 /// Creates a new ObjectListFilter representing a case - insensitive ENDS WITH operation on a string value.
138- let ( @@= ~ ) fname value = EndsWith ({ FieldName = fname ; Value = value }, StringComparer.OrdinalIgnoreCase )
138+ let ( @@= ~ ) fname ( value : string ) = EndsWith ({ FieldName = fname ; Value = value }, StringComparer.OrdinalIgnoreCase )
139139
140140 /// Creates a new ObjectListFilter representing a case - insensitive CONTAINS operation on a string value.
141141 let ( @=@ ~ ) fname ( value : string ) = Contains ({ FieldName = fname ; Value = value }, StringComparer.OrdinalIgnoreCase )
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ type private ComparisonOperator =
2121 | In of string
2222
2323// String filter suffixes:
24- // lowercase → case-insensitive (OrdinalIgnoreCase)
25- // Capitalized / UPPER → case-sensitive (Ordinal)
24+ // lowercase (e.g. _ends_with, _ew) → case-insensitive (OrdinalIgnoreCase)
25+ // Capitalized (e.g. _Ends_With, _EW) → case-sensitive (Ordinal)
2626[<Literal>]
2727let private endsWithSuffix = " _ends_with"
2828
You can’t perform that action at this time.
0 commit comments