Skip to content

Don't rely on automatic conversion from array to first element #2152

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

Closed
sothawo opened this issue May 4, 2022 · 0 comments · Fixed by #2241
Closed

Don't rely on automatic conversion from array to first element #2152

sothawo opened this issue May 4, 2022 · 0 comments · Fixed by #2241
Assignees
Labels
type: bug A general bug

Comments

@sothawo
Copy link
Collaborator

sothawo commented May 4, 2022

Spring Data Elasticsearch currently relies on an automatic conversion from a collection to the first object in that collection, for example when reading a constructor parameter from the return of a scripted field. This automatic conversion will be removed from the spring-data-commons library, so we need to add the functionality in Spring Data Elasticsearch.

See spring-projects/spring-data-commons@23ad2f0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
1 participant