Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Added null check for updateCallback on query #501

Merged

Conversation

derTuca
Copy link
Contributor

@derTuca derTuca commented Oct 1, 2017

When using the singleEvent option on a query, there are quite a few cases where we need to retrieve the data via the promise. In some of those cases, it does not make sense to also implement a callback, so a null check allows us to just pass null instead of a stub callback.

@EddyVerbruggen EddyVerbruggen merged commit ea4b26e into EddyVerbruggen:master Oct 5, 2017
@EddyVerbruggen
Copy link
Owner

That makes a lot of sense, thank you! 👍

@derTuca derTuca deleted the add-null-callback-option branch October 5, 2017 19:28
@EddyVerbruggen EddyVerbruggen added this to the 4.1.2 milestone Oct 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants