Skip to content

No test holds that EmptyCollectionRewriter leaves a VALUES without range or set columns alone #252

Closed

Description

@CaffeinatedCoder

Problem

No test notices if EmptyCollectionRewriter rewrites an empty VALUES that holds no range or value set column. Seeding the removal of the HoldsAPluginType guard (EmptyCollectionRewriter.cs:57), so that every empty VALUES is rewritten, passes all 7 test projects. Commit 375d918 ("rewrite an empty VALUES only when it holds a range or value set column") has no regression test, although the XML doc promises that EF Core's own behaviour is kept. Found by the final pre-release analysis on add665c.

Done when

A test holds that Any over an empty List<int> under ParameterizedCollectionMode = MultipleParameters behaves as plain EF Core does, and fails with the guard removed.

Activity

  1. added this to the 10.0.0 milestone on Oct 19, 2026
  2. added
    tests
    package/efcore
    on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    package/efcoretests

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions