Skip to content

[9.0] Support System.Text.Json serialization of LTree - #4012

Merged
roji merged 1 commit into
hotfix/9.0.5from
roji-ltree-json-backport-9-0
Oct 18, 2026
Merged

roji merged 1 commit into
hotfix/9.0.5from
roji-ltree-json-backport-9-0

Conversation

@roji

@roji roji commented Oct 18, 2026

Copy link
Copy Markdown
Member

Backports #4006 (aead2ab) to hotfix/9.0.5 without changes.

Adds the type-level JSON string converter and focused serialization tests, while preserving query-only behavior.

Fixes #3538

Validation: all 8 LTreeTest cases passed with .NET SDK 9.0.312:

dotnet test test/EFCore.PG.Tests/EFCore.PG.Tests.csproj --filter FullyQualifiedName~LTreeTest

Backport #4006 (aead2ab) to hotfix/9.0.5 without changes.

Fixes #3538

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 10dee5d2-a38d-474a-9454-546470abbd84
@roji roji linked an issue Oct 18, 2026 that may be closed by this pull request
@roji
roji merged commit 21572e6 into hotfix/9.0.5 Oct 18, 2026
10 checks passed
@roji
roji deleted the roji-ltree-json-backport-9-0 branch October 18, 2026 11:33
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.

Serializing an LTree value to a JSON string results in an exception

1 participant