Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reactive Auditing #36

Open
Casara opened this issue Mar 26, 2020 · 2 comments
Open

Reactive Auditing #36

Casara opened this issue Mar 26, 2020 · 2 comments

Comments

@Casara
Copy link

Casara commented Mar 26, 2020

// TODO: Can't return a mono, as below
// So, sorry, no reactive auditing until Spring Data supports it
// return LecrUtils.currentUser();

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

@naturalprogrammer
Copy link
Owner

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

@naturalprogrammer
Copy link
Owner

naturalprogrammer commented May 21, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants