Skip to content

Conversation

ceciliaavila
Copy link
Collaborator

Fixes #4860

Description

This PR fixes an issue in the accessProperty function using toLowerCase to search for property names within an instance. This code was likely ported from C#, but in JS, property names are case-sensitive, which can lead to unexpected results.

Specific Changes

  • Removed the toLowerCase search in accessProperty function.
  • Fix casing errors in unit tests and added a test case for this scenario.

Testing

This image shows the unit tests passing after the changes and the new test case added.
image

@tracyboehrer
Copy link
Member

@ceciliaavila It's fine to abandon this.

@ceciliaavila ceciliaavila deleted the southworks/fix/access-property-issue branch August 13, 2025 14:09
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.

Adaptive expression context access with non-standard objects
2 participants