Skip to content

Parse Cloud beforeConnect and beforeSubscribe errors should throw in ParseQuery.subscribe #1489

@dblythy

Description

@dblythy

New Feature / Enhancement Checklist

Current Limitation

To listen to a Parse Cloud beforeSubscribe error, you have to create an error.on listener. The error for beforeConnect and beforeSubscribe should trigger on query.subscribe

https://github.com/parse-community/parse-server/blob/443a5099059538d379fe491793a5871fcbb4f377/spec/ParseLiveQuery.spec.js#L594

Feature / Enhancement Description

Throw on await query.subscribe()

Example Use Case

Alternatives / Workarounds

Leave as is

3rd Party References

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:breakingBreaking change requires major version increment and `BREAKING CHANGE` commit messagetype:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions