After the PR which changes the chart.options
to a proxy, the usage of Object
methods (like getOwnPropertyDescriptor
or hasOwnProperty
) are reporting only if the property are stored on top level.
Before the PR, the options, being built by merging the other options, the Object
methods worked well.
I don’t know if there is any possibility in order that proxy handler could work as before using the above methods, therefore going in cascade on the objects of different scopes.
I guess you can’t use the
in
operator either.Do you use any javascript side helpers with the JSINTEROP? You could create a javascript helpers for interacting with the options.
For example:
(I’m not sure if this is something you can do though :D)