Skip to content

Commit d07629d

Browse files
committed
Rebase fix
1 parent 9b9039b commit d07629d

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
<ItemGroup>
2323
<Compile Include="FilterSuffixConstants.fs" />
2424
<Compile Include="ObjectListFilter.fs" />
25-
<Compile Include="FilterSuffixConstants.fs" />
2625
<Compile Include="TypeCoercion.fs" />
2726
<Compile Include="ObjectListFilterModule.fs" />
2827
<Compile Include="TypeSystemExtensions.fs" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ let LTSuffix = "_lt"
3131
[<Literal>]
3232
let InSuffix = "_in"
3333

34-
/// Case-insensitive string operators (lowercase suffixes → CurrentCultureIgnoreCase)
34+
/// Case-insensitive string operators and all numeric/comparison operators
3535
module CI =
3636
// String operators (case-insensitive)
3737
[<Literal>]

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ open System.Runtime.InteropServices
4040

4141
type private CompareDiscriminatorExpression<'T, 'D> = Expression<Func<'T, 'D, bool>>
4242

43+
// ────────────────────────────────────────────────────────────────────────────
44+
// Type Coercion Support
45+
// ────────────────────────────────────────────────────────────────────────────
46+
4347
/// <summary>
4448
/// Validation error raised when an incoming <see cref="ObjectListFilter"/> cannot be
4549
/// translated to a LINQ expression against the queried entity type.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ let ObjectListFilterType : InputCustomDefinition<ObjectListFilter> = {
183183
(String.concat
184184
" "
185185
[
186-
"The ObjectListFilter value represents field filters for object lists."
186+
"The `ObjectListFilter` value represents field filters for object lists."
187187
"Lowercase string suffixes such as `_starts_with`/`_sw`, `_ends_with`/`_ew`, `_contains` (no shorthand), and `_equals`/`_eq` are case-insensitive when applied to string fields."
188188
"Capitalized string suffixes such as `_Starts_With`/`_SW`, `_Ends_With`/`_EW`, `_Contains` (no shorthand), and `_Equals`/`_EQ` are case-sensitive when applied to string fields."
189189
"Comparison suffixes such as `_gt`, `_gte`, `_lt`, `_lte`, and `_in` are also supported."

0 commit comments

Comments
 (0)