Skip to content

Conversation

@stu-elastic
Copy link
Contributor

Painless will cast returned values to a converter
argument type, if necessary.

Painless will also look for a special convertFromDef
converter which is called to explicitly handle def
conversions.

convertFromDef must handle all valid def conversions.

Refs: #59647

Painless will cast returned values to a converter
argument type, if necessary.

Painless will also look for a special `convertFromDef`
converter which is called to explicitly handle `def`
conversions.

`convertFromDef` must handle all valid def conversions.

Refs: elastic#59647
@stu-elastic stu-elastic added >enhancement :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache labels Aug 19, 2020
@stu-elastic stu-elastic requested a review from jdconrad August 19, 2020 21:25
@elasticmachine
Copy link
Collaborator

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

@elasticmachine elasticmachine added the Team:Core/Infra Meta label for core/infra team label Aug 19, 2020
Copy link
Contributor

@jdconrad jdconrad left a comment

Choose a reason for hiding this comment

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

Nice change!

@stu-elastic stu-elastic merged commit bb48a6d into elastic:master Aug 20, 2020
@javanna
Copy link
Member

javanna commented Aug 24, 2020

@stu-elastic could you add version labels to this PR please?

@stu-elastic
Copy link
Contributor Author

it will be backported to v7.10.0 with the rest of the new compiler infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache >enhancement Team:Core/Infra Meta label for core/infra team v7.10.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants