acebase
acebase copied to clipboard
value event not returning existing data when path contains wildcards/variables
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
});
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 👍🏼
Oh and look! Happy #200!