Closed iwarshak closed 1 year ago
Hey Ian, it seems like a bug indeed.
It looks a lot like an inspect/1
issue in the storybook code truncating long code with a ...
ellipsis.
I think this is the same issue as #157 Ian, can you check with the main branch before I close the issue?
Just ran on the main branch and am getting the same error
Fixed by #191 🙏
I cannot get phx_live_storybook to work when complex structs (ecto schemas) or long lists are passed as attributes. As an example
will result in the following error in the console:
I am happy to dig into this more, but based on this output and a similar sort of output it seems like phx_live_storybook tries to interpret the
IO.inspect
output of the attributes as the actual value.