Replace ConditionalOnBean with ConditionalOnProperty for CommerceService

Fixkamo-shared-library
Shipped
March 11, 2026 at 7:10 PM UTC
Author
Kamo
Commit
6f8c313

**************** is evaluated before Spring Data JPA registers user-defined repository beans, making it unreliable. Replace with **************** which is evaluated at the property-resolution phase and is always reliable. Services that need commerce (SecurityService) opt in via application.yml. Services that don't (MediaService) leave the property unset (defaults false).

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing