Swiftpack.co - Package - bastianX6/accounts-dependency-resolver


This package contains logic to create and manage availability of dependencies in accounts app and its modules.


The module is composed by two parts:

  • A DependencyResolverProtocol protocol and a public implementation (DependencyResolver) with two responsibilities:
    • Define the availability of a dependency
    • Get a dependency
  • A set of availability protocols.

Availability Protocols

There are two protocols to define dependencies availability:

  • DataSourceAvailability to define if DataSourceRead and DataSourceModify are available to be used.
  • ResourcesAvailability to define if income and expenditure data is available.

Package dependencies


You can check documentation here