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

value event not returning existing data when path contains wildcards/variables #200

Open
donl opened this issue Jan 2, 2023 · 2 comments
Assignees

Comments

@donl
Copy link
Contributor

donl commented Jan 2, 2023

Happy New Year! Here is to another great year for you and AceBase! Many thanks to you!

It appears to me that the 'value' event is not returning existing data as requested when the path contains a wildcard/variable.

If I'm correct, can support be added for this? Or if nothing else maybe make a note in the documentation?

db.ref('users/$user/post/$post')
    .on('value', true)
    .subscribe(snap => {
// receives changes, but not existing data
});
@appy-one
Copy link
Owner

appy-one commented Jan 2, 2023

Happy new year!
Wildcard paths are only available in queries at the moment, but I'll take a look at adding support for events too 👍🏼

@appy-one appy-one self-assigned this Jan 2, 2023
@donl
Copy link
Contributor Author

donl commented Jan 3, 2023

Oh and look! Happy #200!

@donl donl changed the title FR: - Support value event returning existing data on path containing wildcards/variables value event not returning existing data when path contains wildcards/variables Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants