Skip to content

Added check to OpenXmlValueExtractor to eclude indexers from property mapping#952

Merged
michelebastione merged 1 commit intomini-software:masterfrom
michelebastione:fix-issue-951
Apr 27, 2026
Merged

Added check to OpenXmlValueExtractor to eclude indexers from property mapping#952
michelebastione merged 1 commit intomini-software:masterfrom
michelebastione:fix-issue-951

Conversation

@michelebastione
Copy link
Copy Markdown
Collaborator

Closes #951

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request prevents errors during OpenXml value extraction by filtering out properties with indexers and adds unit tests to verify the fix. The review feedback identifies a typo in a new TODO comment, suggests adding a check for property readability to avoid potential exceptions, and notes an unused namespace import that should be removed.

Comment thread src/MiniExcel.OpenXml/Templates/OpenXmlValueExtractor.cs Outdated
Comment thread src/MiniExcel.OpenXml/Templates/OpenXmlValueExtractor.cs Outdated
Comment thread tests/MiniExcel.OpenXml.Tests/MiniExcelIssueTests.cs Outdated
@michelebastione michelebastione merged commit 00b2ea5 into mini-software:master Apr 27, 2026
3 checks passed
@michelebastione michelebastione deleted the fix-issue-951 branch April 27, 2026 19:45
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.

[BUG] - InputValueExtractor fais on objects with indexes

1 participant