Implement Listening on Snapshot Events #27
Labels
enhancement
New feature or request
from_willyovale
An issue described in original project, but never implemented
Description
Fireorm lacks support for listening to snapshot events. A proof-of-concept was created to demonstrate the feasibility of this feature, which allows real-time updates by listening to Firestore snapshot events. This feature needs to be refined and integrated into Fireorm with proper abstractions and unit tests.
Steps to Reproduce
Expected Behavior
Ability to listen to Firestore snapshot events and handle real-time updates within Fireorm, using a consistent API that fits with the rest of the project.
Actual Behavior
Currently, Fireorm does not support listening to snapshot events, requiring manual implementation.
Acceptance Criteria
any
with proper TypeScript types.QuerySnapshot
.Additional Context
QuerySnapshot
and providing a custom object to users.QuerySnapshot
.Proposed API Changes
Implement Snapshot Listener:
Custom Snapshot Object:
QuerySnapshot
.Unit Tests:
Example Implementation
Original Issue
The text was updated successfully, but these errors were encountered: