Fixes issues interpolating a string like "$toString" , if there is no variable named toString this should leave the original string unchanged but due to using object property lookup we matched object prototype functions (Both on scopedVars and macros)
📦 Published PR as canary version: 4.30.0--canary.785.9463381206.0
:sparkles: Test out this PR locally via:
```bash
npm install @grafana/scenes-react@4.30.0--canary.785.9463381206.0
npm install @grafana/scenes@4.30.0--canary.785.9463381206.0
# or
yarn add @grafana/scenes-react@4.30.0--canary.785.9463381206.0
yarn add @grafana/scenes@4.30.0--canary.785.9463381206.0
```
Fixes issues interpolating a string like
"$toString"
, if there is no variable namedtoString
this should leave the original string unchanged but due to using object property lookup we matched object prototype functions (Both on scopedVars and macros)📦 Published PR as canary version:
4.30.0--canary.785.9463381206.0
:sparkles: Test out this PR locally via: ```bash npm install @grafana/scenes-react@4.30.0--canary.785.9463381206.0 npm install @grafana/scenes@4.30.0--canary.785.9463381206.0 # or yarn add @grafana/scenes-react@4.30.0--canary.785.9463381206.0 yarn add @grafana/scenes@4.30.0--canary.785.9463381206.0 ```