Skip to content

Errors in publications aren't handled properly #22

Open
@mizzao

Description

@mizzao

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions