Open
Description
Using the $subscribe
function with Vue dynamic arguments doesn't work properly if the publication throws an error.
- The previous subscription (which didn't have an error) is not stopped, so the data persists client-side.
- There is no way to display or otherwise react to the error on the client.
In my app, this results in a situation where the subscription update fails silently (and $subReady
never updates), and then a new subscription without error results in both the data from the old and new subscription being displayed.
Not all subscriptions can be validated and guaranteed not to have an error client-side, so this creates a bit of a mess with regard to possible user error.