-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>enhancementTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team
Description
Runtime fields need to ensure scripts have the return type specified in the mapping. Returning Object would incur dramatic boxing penalties.
We can implement this in the scripting infrastructure by having a context per mapping type, with the different contexts differing only on the execute return value.
Related: #59332
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and Mustache>enhancementTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team