firebase_crud 0.1.0 copy "firebase_crud: ^0.1.0" to clipboard
firebase_crud: ^0.1.0 copied to clipboard

A comprehensive Firebase Firestore CRUD facilitator package for Dart/Flutter with built-in logging, error handling, and testing support.

0.0.1 #

Features #

  • CRUD Operations: Complete Create, Read, Update, Delete operations with CrudRepository mixin
  • Real-time Firestore Integration: Seamless integration with Firebase Firestore
  • Comprehensive Error Handling: Enhanced error logging with Firebase exception details
  • Optional Logging: Configurable logging with multiple log levels
  • Testing Support: Built-in support for unit testing with FakeFirebaseFirestore
  • Type-Safe API: Full null safety support and strong typing

Improvements #

  • Fixed FakeFirebaseFirestore singleton initialization for consistent test data
  • Added comprehensive documentation with code examples
  • Improved ExistenceException with proper toString() implementation
  • Enhanced CrudRepository with detailed parameter documentation
  • Added proper library exports for clean public API
  • Fixed test data mocking in unit tests
  • Added extension documentation for Log and Path extensions
  • Updated README with quick start guide and API reference

Bug Fixes #

  • Fixed FakeFirebaseFirestore instance recreation issue in testing
  • Corrected failing test due to improper mock setup
  • Improved deprecation annotations for backward compatibility methods
2
likes
125
points
56
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A comprehensive Firebase Firestore CRUD facilitator package for Dart/Flutter with built-in logging, error handling, and testing support.

Repository (GitHub)

License

MIT (license)

Dependencies

cloud_firestore, fake_cloud_firestore, firebase_core, flutter, freezed_annotation, json_annotation, logger, meta, mockito, uuid

More

Packages that depend on firebase_crud