Skip to content

Change the way how the reference data type is handled or make it configurable #215

@wujekbogdan

Description

@wujekbogdan

In Firestore there's a Reference data type. When a document that contains references fields is bound by Vuefire, then Vuefire, under the hood, queries all referenced documents and converts referencecs into actual data. This is a nice feature but it has some negative implications:

  • The reference is lost. We no longer have an access to it.
  • It performs additional queries, that might be inefficient when large collections are queried.

So it would be great if this behaviour could be configured, or at least if references were not lost - maybe refernces could be added as an non-enumerable properties (the same way as documents' ids are added to objects)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions