Skip to content

Conversation

@roji
Copy link
Member

@roji roji commented Nov 25, 2025

Backports #37238
Fixes #37205

Description

Complex JSON collection support was added for 10.0, including full querying capabilities. Unfortunately, a bug slipped into the implementation, where projecting an entity having a JSON collection out of a left join subquery causes the wrong SQL to get generated.

Customer impact

When a LINQ query meeting certain non-contrived conditions is executed, the SQL is incorrect and the query fails.

How found

Customer reported on 10.0.0

Regression

No.

Testing

Added.

Risk

Very low, one-line trivial targeted fix. Quirk added.

@roji roji requested a review from artl93 November 25, 2025 16:24
Copy link
Member

@artl93 artl93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New feature, customer reported - feature doesn't work, simple fix. Approved.

@rbhanda rbhanda added this to the 10.0.2 milestone Nov 25, 2025
@roji roji merged commit e917384 into dotnet:release/10.0 Nov 26, 2025
7 checks passed
@roji roji deleted the JsonCollectionLeftJoinSubquery10 branch November 26, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ComplexCollection (JSON) + QueryFilter on child entity → "Invalid column name '...'" when Parent.Include(Child) and FK nullable

4 participants