Skip to content

Provide deleted object to KeyValueTemplate instead of deleting entities by Id #438

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

Closed
mp911de opened this issue May 19, 2022 · 0 comments
Closed
Labels
type: enhancement A general enhancement

Comments

@mp911de
Copy link
Member

mp911de commented May 19, 2022

When deleting an entity through delete(T), we should call the appropriate delete by entity method on the KeyValueTemplate to retain as much context as possible. In Spring Vault we want to access the @Version property of an entity during removal to delete the exact version.

@mp911de mp911de added the type: enhancement A general enhancement label May 19, 2022
@mp911de mp911de added this to the 2.7.1 (2021.2.1) milestone May 19, 2022
mp911de added a commit that referenced this issue May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant