org.sigilaris.core.application.module.provider.TablesProvider
See theTablesProvider companion object
Provider for external table dependencies.
TablesProvider is the canonical handle for supplying tables that a module needs but does not own. The name "Provider" highlights what it supplies, while blueprints declare what they need via the Needs type parameter.
This is the core abstraction introduced in Phase 5.5 to replace nested dependency tuples with a clean dependency injection model.
Key design principles:
- Provides is a tuple of Entry types (Entry[Name, K, V] *: ...)
- At runtime, provides a Tables[F, Provides] instance
- Blueprints declare Needs (also an Entry tuple) and receive a matching TablesProvider[F, Needs]
- Compile-time evidence ensures type safety between Needs and Provides
Type parameters
- F
-
the effect type
- Provides
-
the tuple of Entry types this provider supplies
Attributes
- Companion
- object
- Source
- TablesProvider.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article