woutdp / live_svelte

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

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

Closed acco closed 7 months ago

acco commented 9 months ago

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

woutdp commented 9 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 7 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 7 months ago

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

Available in version 0.13.1