digit_crud_bloc 0.0.3-dev copy "digit_crud_bloc: ^0.0.3-dev" to clipboard
digit_crud_bloc: ^0.0.3-dev copied to clipboard

This package provides the core logic and services for managing entity-based data flows in a modular and extensible way. It supports dynamic entity mapping, relationship traversal, nested field resolut [...]

0.0.3-dev #

  • Fixed query for count fetching

0.0.2-dev #

  • Major refactor for maintainability and clarity. No logic changes.
  • All BLoC, service, and singleton naming is now generic (CrudBloc, CrudService, etc.).
  • Extracted query-building, hydration, and relationship graph logic into dedicated helpers:
    • QueryBuilder for SQL and filter utilities
    • HydrationHelper for nested model hydration
    • RelationshipGraphHelper for relationship pathfinding
  • Singleton setup now requires all dependencies to be set explicitly.
  • Improved documentation and code comments throughout.
  • The main repository class is now focused and readable, with helpers handling complex logic.

0.0.1-dev #

  • RegistrationService class to centralize entity-level CRUD operations and search logic.
  • Relationship graph support using RelationshipMapping to resolve parent-child entity relationships.
  • Nested model mapping via NestedModelMapping for resolving and filtering deeply nested fields.
  • Global search support through GlobalSearchParameters and SearchEntityRepository.
  • Full CRUD functionality:
    • registerEntities() – Create
    • searchHouseholds() – Read
    • updateEntities() – Update
    • deleteEntities() – Delete
0
likes
30
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

This package provides the core logic and services for managing entity-based data flows in a modular and extensible way. It supports dynamic entity mapping, relationship traversal, nested field resolution, and repository-driven CRUD operations.

License

MIT (license)

Dependencies

async, collection, dart_mappable, digit_data_model, dio, drift, flutter, flutter_bloc, freezed_annotation, intl, pluto_grid, recase, stream_transform, uuid

More

Packages that depend on digit_crud_bloc