-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Open
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and MustacheTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team
Description
Painless adds additional variables into scripts based on getter present in the script context. For example, in IngestScript the getCtx()
method provides for the ctx
variable. Although the variable is backed by a getter and so there is clearly no assignment possible, painless does not reject overwriting the local ctx
variable. To a user it appears assignment to ctx works, but in practice the change is a noop. We should block such assignment with a clear error message.
Metadata
Metadata
Assignees
Labels
:Core/Infra/ScriptingScripting abstractions, Painless, and MustacheScripting abstractions, Painless, and MustacheTeam:Core/InfraMeta label for core/infra teamMeta label for core/infra team