Skip to content
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

Custom IndexAccessor cannot support String index type #32706

Closed
sbrannen opened this issue Apr 25, 2024 · 0 comments
Closed

Custom IndexAccessor cannot support String index type #32706

sbrannen opened this issue Apr 25, 2024 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Milestone

Comments

@sbrannen
Copy link
Member

Overview

Due to the current implementation of IndexAccessor support, a custom index accessor cannot support a String index type.

The reason is that our "indexing into an object by property name" feature owns the String index type.

We should therefore ensure that a custom IndexAccessor can support a String index type and make our "indexing into an object by property name" feature the fallback, best-effort scenario.

Related Issues

@sbrannen sbrannen added type: bug A general bug in: core Issues in core modules (aop, beans, core, context, expression) labels Apr 25, 2024
@sbrannen sbrannen added this to the 6.2.0-M2 milestone Apr 25, 2024
@sbrannen sbrannen self-assigned this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant