Skip to content

[8.0] Support System.Text.Json serialization of LTree - #4009

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

roji merged 1 commit into
hotfix/8.0.12from
roji-ltree-json-backport-8-0

Conversation

@roji

@roji roji commented Oct 18, 2026

Copy link
Copy Markdown
Member

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

Adds the public nested JSON converter and focused regression coverage, preserving the query-only behavior of NLevel and other LTree operations.

Validation: dotnet test test/EFCore.PG.Tests/EFCore.PG.Tests.csproj --filter FullyQualifiedName~LTreeTest --verbosity minimal — 8 passed, 0 failed, 0 skipped on .NET 8.

Fixes #3538.

Backport #4006 to hotfix/8.0.12.

(cherry picked from commit aead2ab)

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: d8d8a304-ae5a-4349-bf84-37751d55433c
@roji roji linked an issue Oct 18, 2026 that may be closed by this pull request
@roji
roji merged commit 1470bca into hotfix/8.0.12 Oct 18, 2026
9 checks passed
@roji
roji deleted the roji-ltree-json-backport-8-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