Skip to content

Cleanup array converter - #6472

Merged
NinoFloris merged 10 commits into
npgsql:mainfrom
NinoFloris:cleanup-array-converter
Mar 11, 2026
Merged

NinoFloris merged 10 commits into
npgsql:mainfrom
NinoFloris:cleanup-array-converter

Conversation

@NinoFloris

Copy link
Copy Markdown
Member

Breaks up the array converter a bit, making it more manageable to work with. The new split mostly follows along the line of pg behavior being in ArrayConverterCore while the converter infrastructure stays in ArrayConverter. Finally IterationIndices have been put into utils, now that it's a self-contained 1 to N dimension iteration helper.

Copilot AI review requested due to automatic review settings March 9, 2026 19:47
@NinoFloris
NinoFloris requested review from roji and vonzshik as code owners March 9, 2026 19:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@NinoFloris
NinoFloris merged commit fc81e74 into npgsql:main Mar 11, 2026
12 checks passed
@NinoFloris
NinoFloris deleted the cleanup-array-converter branch March 11, 2026 00:56
roji added a commit that referenced this pull request Oct 18, 2026
Backport the empty-array rank fix and regression test from #6472 without the array converter refactor.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 9ed28964-ddbc-4ba3-99af-9428e97d0b7b
roji added a commit that referenced this pull request Oct 18, 2026
Backport the empty-array rank fix and regression test from #6472 without the array converter refactor.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 9ed28964-ddbc-4ba3-99af-9428e97d0b7b
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.

Regression in Npgsql 9: reading an empty multidimensional array throws InvalidCastException

3 participants