clean_architecture_core 1.0.0 copy "clean_architecture_core: ^1.0.0" to clipboard
clean_architecture_core: ^1.0.0 copied to clipboard

A lightweight companion package for clean_architecture_kit, providing core interfaces like Repository and UseCase for building Clean Architecture apps.

1.0.0 #

  • Initial stable release of clean_architecture_core.
  • BREAKING: The core base classes (Repository, UseCase, Failure, FutureEither) have been extracted from clean_architecture_kit (v2.0.0) into this dedicated package.

Features #

  • Provides a Repository abstract interface as a base for all repository contracts.
  • Provides UseCase, UnaryUseCase, and NullaryUseCase abstract interfaces for business logic interactors.
  • Provides a simple Failure abstract interface to represent failure cases.
  • Includes a FutureEither<T> typedef for convenient asynchronous operations that return a result or a failure, designed for use with the fpdart package.

Rationale #

This decoupling allows the clean_architecture_kit linter to be a pure static analysis tool. This core package provides an optional, lightweight, and zero-dependency (other than fpdart) foundation that enables the linter to work out-of-the-box.

1
likes
150
points
48
downloads

Publisher

unverified uploader

Weekly Downloads

A lightweight companion package for clean_architecture_kit, providing core interfaces like Repository and UseCase for building Clean Architecture apps.

Repository (GitHub)
View/report issues

Topics

#clean-architecture #architecture #clean-architecture-kit

Documentation

API reference

License

MIT (license)

Dependencies

fpdart

More

Packages that depend on clean_architecture_core