Skip to content

Commit 9227c4e

Browse files
committed
feat: use ast for safer expressions
1 parent 23d6159 commit 9227c4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/VegaChart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ export const VegaChart: FC<VegaChartProps> = ({
8989
}
9090
embed(containerRef.current, specCopy, {
9191
actions: false,
92+
ast: true,
9293
config,
9394
expressionFunctions: {
9495
...expressionFunctions,

0 commit comments

Comments
 (0)