Parse Cloud beforeConnect
and beforeSubscribe
errors should throw in ParseQuery.subscribe
#1489
Closed
3 tasks done
Labels
state:breaking
Breaking change requires major version increment and `BREAKING CHANGE` commit message
type:feature
New feature or improvement of existing feature
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
The text was updated successfully, but these errors were encountered: