Skip to main content

Strategies

The plugin uses the strategy pattern for all key extension points. Each strategy has a sensible default and can be replaced with a custom implementation to fit your business requirements.

All strategies implement Vendure's InjectableStrategy interface, giving you access to init(injector) and destroy() lifecycle hooks for dependency injection.

ActiveCompanyStrategy

Exclusive to Vendure Platform

This page is part of the Vendure Platform documentation. Access requires a valid Vendure Platform license.