woutdp / live_svelte

Svelte inside Phoenix LiveView with seamless end-to-end reactivity
https://hexdocs.pm/live_svelte
MIT License
1.01k stars 37 forks source link

Raise when Jason.encode/1 fails on props #114

Closed acco closed 2 months ago

acco commented 4 months ago

When passing in props that fails to Jason.encode, raise. (Prior behavior was to fail silently.)

woutdp commented 4 months ago

Hey sorry for not merging yet, I haven't had the chance to test it out yet. Will hopefully get around to it soon...

acco commented 2 months ago

Hey @woutdp - just following up on this, bites us sometimes. Lmk if you want me to take a different approach with this?

woutdp commented 2 months ago

Appologies for the crazy long delay, tested it and looks good.

Available in version 0.13.1