Skip to content

NpgsqlArrayConverter throws for collection struct types (e.g. Immutable array) #3551

Closed

Description

@roji

NpgsqlArrayConverter makes certain assumptions that its input and output types are reference types. We don't (currently) actually support mapping array types which aren't array or List, but the exceptions thrown from NpgsqlArrayConverter actually make it impossible to ignore an ImmutableArray property that requires value conversion (see dotnet/efcore#35329 when this was raised).

Do at least the minimum work to make sure that NpgsqlArrayConverter can be constructed without exceptions.

Activity

  1. added this to the milestone on Jun 14, 2025
  2. self-assigned this
    on Jun 14, 2025
  3. added theissue type on Jun 14, 2025
  4. added a commit that references this issue on Jun 14, 2025
    cc3eb8e
  5. modified the milestones: , 10.0.0 on Jun 14, 2025
  6. added a commit that references this issue on Jun 14, 2025
    19b9ff1
  7. erichiller commented on Aug 28, 2025

    @erichiller
    Contributor

    Any chance this will be released as a v9.0.5 ?

  8. added 2 commits that reference this issue on Aug 29, 2025
    c4a9a12
    d7b1698
  9. modified the milestones: 10.0.0, on Aug 29, 2025
  10. roji commented on Aug 29, 2025

    @roji
    MemberAuthor

    Backported this to v9.0.5.

  11. erichiller commented on Sep 8, 2025

    @erichiller
    Contributor

    Backported this to v9.0.5.

    Thanks - do you have any idea as to when v9.0.5 will be released?

  12. modified the milestones: , 10.0.4 on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions