Skip to content

Conversation

@omniCoder77
Copy link

Description

This pull request addresses the use of the deprecated ensureIndex() method in the database initialization logic. The method is no longer recommended by the MongoDB driver and produces deprecation warnings in the logs.

To align with best practices and ensure future compatibility, this change replaces all instances of ensureIndex() with the modern equivalent, createIndex().

Closes #703

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 28, 2025
@omniCoder77
Copy link
Author

Just checking in on this PR. Is there anything I can do to help move it forward?

@omniCoder77 omniCoder77 closed this by deleting the head repository Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor: Replace deprecated 'ensureIndex' with 'createIndex'

2 participants