spring-lemon icon indicating copy to clipboard operation
spring-lemon copied to clipboard

Reactive Auditing

Open Casara opened this issue 4 years ago • 2 comments

https://github.com/naturalprogrammer/spring-lemon/blob/ca2e567e83fb822f30f5f7ca26bd61f4e222397e/spring-lemon-commons-reactive/src/main/java/com/naturalprogrammer/spring/lemon/commonsreactive/security/LemonReactiveAuditorAware.java#L29-L31

My suggestion to solve the lack of support in Spring Data:

https://juliuskrah.com/blog/2018/02/15/auditing-with-spring-data-jpa/#comment-4848839807

Casara avatar Mar 26 '20 18:03 Casara

Thanks! Not sure how that works, should be given a closer look.

naturalprogrammer avatar Mar 30 '20 00:03 naturalprogrammer

Thanks :) looks like implementing a ReactiveBeforeConvertCallback would work with MongoDB.

Until it comes to Spring Lemon, one can very well implement it in his/her project. When it comes to Spring Lemon, we should be a ConditionalIfMissingBean.

naturalprogrammer avatar May 21 '20 14:05 naturalprogrammer