Problem
Currently the LiveView helpers assume in nearly all cases that the value piped along follows the form {conn, {:ok, view, html}}. This does not account for other cases such as {:error, {:redirect, ...}} and {:error, {:live_redirect, ...}}.
(Potential) Solution
Provide additional function heads to handle alternative scenarios. At this time, it's unclear to when what such scenarios may be, so we should first identify use cases and then figure out how to adapt the library to solve those problems.
Problem
Currently the LiveView helpers assume in nearly all cases that the value piped along follows the form
{conn, {:ok, view, html}}. This does not account for other cases such as{:error, {:redirect, ...}}and{:error, {:live_redirect, ...}}.(Potential) Solution
Provide additional function heads to handle alternative scenarios. At this time, it's unclear to when what such scenarios may be, so we should first identify use cases and then figure out how to adapt the library to solve those problems.