Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTDB References Missing get, and exists methods #75

Open
AmitMY opened this issue Oct 27, 2021 · 1 comment
Open

RTDB References Missing get, and exists methods #75

AmitMY opened this issue Oct 27, 2021 · 1 comment

Comments

@AmitMY
Copy link

AmitMY commented Oct 27, 2021

I've been trying to use this repository to test some RTDB code.
However, it seems like references are missing get and exists methods.

I do not see anyone else having this issue, so I'm wondering what can be done.
These methods, are not called directly from my tests, but instead, I pass a reference to a function, and it might, for example, check if it exists.

@dmurvihill
Copy link
Owner

dmurvihill commented Nov 1, 2021

The mock API is a bit out of date and get() was added recently, so I'm not surprised you didn't find it.

I recommend using the new Firebase Local Emulator Suite for new projects. That project is officially maintained by Google. If you must use firebase-mock, pull requests to add the missing methods are gratefully accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants