rweisleder / archunit-spring

Library providing predefined ArchUnit rules for Spring applications
Apache License 2.0
78 stars 2 forks source link

New Rule: SpringTransactionalRules: TransactionalMethodsAreProxyable #11

Closed lasselindqvist closed 3 months ago

lasselindqvist commented 3 months ago

I would add basically the same rules as have been done for cacheable methods, but for Transactional, too, since they also need to be proxied in order for the annotation to work.

It should check both jakarta.transaction.Transactional and org.springframework.transaction.annotation.Transactional.

lasselindqvist commented 3 months ago

I guess this is a duplicate of https://github.com/rweisleder/archunit-spring/issues/2 so closing.