Skip to content

Remove string comparison support#1099

Merged
SimonCropp merged 4 commits into
mainfrom
remove-StringComparison-support
Apr 16, 2025
Merged

Remove string comparison support#1099
SimonCropp merged 4 commits into
mainfrom
remove-StringComparison-support

Conversation

@SimonCropp
Copy link
Copy Markdown
Owner

@SimonCropp SimonCropp commented Apr 16, 2025

So the case part of this will no longer work

{
  entities
  (where: {
    path: "Property",
    comparison: "endsWith",
    value: "the value",
    case: "Ordinal"})
  {
    property
  }
}

it was always a flawed feature since EF cant translate to sql and the result was client side resolution.

the new behavior will depend on the collation configured in the DB

the correct way to implement this is to leverage var EF.Functions.Collate #1098

@SimonCropp SimonCropp added this to the 31.0.0 milestone Apr 16, 2025
@SimonCropp SimonCropp merged commit 4f38f1e into main Apr 16, 2025
2 of 4 checks passed
@SimonCropp SimonCropp deleted the remove-StringComparison-support branch April 16, 2025 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant