Repository navigation
π Changes
Interfaces have been moved to a separate submodule interfaces/:
- RetryStrategyI
- ResponseFormatterI
- ResponseValidatorI
New response formatting system:
- Added the interface
ResponseFormatterI - Default implementation:
DefaultResponseFormatter
New response validation system:
- Added the interface
ResponseValidatorI - Default implementation:
DefaultResponseValidator
β Improvements
- Extensibility via DI: now you can pass your own validator and formatter implementations
- Cleaner code, more isolated modules
- Support for scalable client architecture
π Project Structure Changes
bitrix24_client/
βββ interfaces/
β βββ retry_strategy.py
β βββ response_formatter.py
β βββ response_validator.py
βββ strategies/
β βββ ...
βββ formatters/
β βββ default_response_formatter.py
βββ validators/
β βββ default_response_validator.py