You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My intention is that when you set no query on a collection, it fetches no documents. This behaviour seems to have changed by accident. A collection without a query now fetches all documents.
The text was updated successfully, but these errors were encountered:
@sallar True, but I found that behavior unpractical in combination with a mobx store, because sometimes at instantiation time you don't yet know what query you want to perform, but you might not want to start fetching all documents.
The way firestore-mobx works you can set the collection name when instantiating the observable, so that it is locked to that collection/type, but then at a later point initiate the query for documents.
If you do want the default behavior of fetching all documents, you can still simply do that by setting a query with only an orderBy part, which I think makes sense anyway for those types of fetches.
My intention is that when you set no query on a collection, it fetches no documents. This behaviour seems to have changed by accident. A collection without a query now fetches all documents.
The text was updated successfully, but these errors were encountered: