adapters library

Adapter pattern for moose_core package.

This module exports the adapter architecture that enables backend-agnostic data access. Adapters provide concrete implementations of repository interfaces for specific backends (e.g., WooCommerce, Shopify).

Classes

AdapterRegistry
Instance-based registry for managing backend adapters and repository implementations.
BackendAdapter
BackendAdapter - Abstract base class for backend implementations

Exceptions / Errors

AdapterConfigValidationException
Exception thrown when adapter configuration validation fails.
RepositoryFactoryException
Exception thrown when a factory function has an unexpected type.
RepositoryNotRegisteredException
Exception thrown when attempting to get a repository that hasn't been registered.
RepositoryTypeMismatchException
Exception thrown when a cached repository has an unexpected type.