Skip to content

Conversation

jdconrad
Copy link
Contributor

@jdconrad jdconrad commented Apr 11, 2025

This fixes an issue where if a Painless getter method return type didn't match a Java getter method return type we add a cast. Currently this is adding an extraneous cast.

Closes: #70682

@jdconrad jdconrad added >bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache v9.1.0 labels Apr 11, 2025
@jdconrad jdconrad requested a review from a team as a code owner April 11, 2025 19:36
@elasticsearchmachine elasticsearchmachine added the Team:Core/Infra Meta label for core/infra team label Apr 11, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra (Team:Core/Infra)

@elasticsearchmachine
Copy link
Collaborator

Hi @jdconrad, I've created a changelog YAML for you.

Copy link
Member

@rjernst rjernst left a comment

Choose a reason for hiding this comment

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

LGTM

@jdconrad jdconrad merged commit c1ecafa into elastic:main Apr 11, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache Team:Core/Infra Meta label for core/infra team v9.1.0

3 participants