Skip to content

Conversation

@mehdi0933
Copy link

Description

This PR addresses issue #534 by adding auditing metadata support for Cloud Datastore.

Changes

  • Updated DatastorePersistentProperty and DatastorePersistentPropertyImpl to recognize Spring Data auditing annotations: @CreatedDate, @LastModifiedDate, @CreatedBy, and @LastModifiedBy.
  • Modified DatastoreMappingContext to include an auditingEnabled flag.
  • Added a new unit test in DatastoreMappingContextTests to verify that @CreatedDate properties are correctly identified by the mapping context.

Impact

This allows the Datastore module to integrate with Spring Data's auditing framework, enabling automatic population of creation and modification dates/users.

@mehdi0933 mehdi0933 requested a review from a team as a code owner January 4, 2026 21:48
@mehdi0933 mehdi0933 force-pushed the feat/datastore-auditing-534 branch from 2cbe40b to 22085e8 Compare January 4, 2026 22:49
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

Successfully merging this pull request may close these issues.

1 participant