Dominik Moritz
Dominik Moritz
> Related question: are there any situations in which a valid Vega/Vegalite JSON string would be broken through doing spec = json.dumps(json.loads(spec))? I can't think of anything that could cause...
Hmm, didn't work for me. Let me try again.
Definitely doesn't work for me. 
And you then see the actions being logged like in Vega?
Vega-Embed doesn't enable hover handling by default for Vega-Lite. See https://github.com/vega/vega-embed/blob/5042fe105f7ede9500f3cbc4211bfddbd1bc13f8/src/embed.ts#L297. Maybe that's the reason this doesn't work.
Would be good to port things like https://github.com/xiag-ag/typescript-to-json-schema/pull/40
I ported the test from https://github.com/xiag-ag/typescript-to-json-schema/pull/40 and it works.
Vega-Lite just compiles to Vega so the behavior should be exactly the same.
Please reopen if this is still an issue.
Thanks for the example. Can you send a PR to fix this?