Painless - handle equivalent paths in write fields API #91142
Labels
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
>enhancement
Team:Core/Infra
Meta label for core/infra team
In write contexts, the fields API should access equivalent paths without the caller needing to know their structure in the source. If there are multiple paths that map to the same field address, they should be merged.
For example:
$('a.b.c', null)
returns[1,2,3]
.Some complications are:
Map a = new HashMap(); ctx['a'] = a; a['foo'] = bar;
ctx['b'] = ctx['a'];
ctx['a']['b'] = ctx['a'];
Refs: #79155
The text was updated successfully, but these errors were encountered: