Skip to content

Fix case insensitive property selection #1482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

CAPCHIK
Copy link

@CAPCHIK CAPCHIK commented May 30, 2025

On types where the names of properties differ only in case, the choice of a property at the CLR level breaks down, while OData allows you to have such names and processes them correctly.

The change does not change the number of test statuses. Before making the change, there were 7851 passed tests and 8 failed tests on my PC, and these numbers remained after making the changes. And the logic of selecting a property started working correctly, since by default, getting a property does not have an indication to ignore the case.

The behavior is reproduced in the repository, and the exception can be observed in the github action.

@gathogojr
Copy link
Contributor

Hello @CAPCHIK. Could you please add some test coverage to this pull request? It would help us better understand the specific scenario your change is addressing and ensure the behavior is preserved going forward.

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.

2 participants