Open maumar opened 1 month ago
simpler query:
public virtual Task Json_collection_index_outside_bounds2(bool async)
=> AssertQuery(
async,
ss => ss.Set<JsonEntityBasic>().Select(x => x.OwnedReferenceRoot.OwnedReferenceBranch.OwnedCollectionLeaf[25]).AsNoTracking(),
ss => ss.Set<JsonEntityBasic>().Select(x => (JsonOwnedLeaf)null));
Note: some partial work was done on this in #34662 - leaf entity types can now be projected without errors. However, non-leaf entity types - which have Includes on them - still have the issue. I'm expecting this issue to go away on its own with the switch to complex type modeling.
query:
exception: