Wrote a reactive transaction manager for Spring so I can make transactions across multiple repositories inside a service and not just be tied to making a transaction only on one repository like what ReactiveTransactionManager
restricts you to. Very useful if a lot of your business logic goes in the service layer:
The gist:
The implementation:
The usage: (not the best use case, but at least it fits in one screenshot; it can be used across multiple repositories too)
The usecases may be small, but damn that shitcode was fun to write
submitted by /u/wtf_kyle
[link] [comments]