Skip to content

Support nested paths as keys #152

Open
@morrislaptop

Description

@morrislaptop

I'm using geofire and when an object enters into my radius I want to fetch the details and pop it into an array.

Something like:

    this.geoquery.on('key_entered', (key, location, distance) => {
      this.$bindAsObject(`contacts.${key}`, firebase.database().ref(`contacts/${key}`))
    })

However is just creates a variable on the instance with the literal string so I can't iterate through contacts.

Is there a suggested way of doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions