-
Notifications
You must be signed in to change notification settings - Fork 55
Feat mongo index validation #708
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
Conversation
…dapters - Introduced abstract methods in the Adapter class to check support for multiple fulltext and identical indexes. - Updated the Database class to utilize these new methods during index validation. - Enhanced the Mongo and SQL adapters to implement the new support checks. - Modified the Index validator to validate multiple fulltext and identical indexes. - Added unit and e2e tests to ensure proper validation behavior for these new features.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (2)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
… into feat-mongo-index-validation
- Implemented methods to check support for multiple fulltext indexes and identical indexes. - These methods delegate functionality to the underlying adapter, enhancing index validation capabilities.
…difications - Added functionality to store original indexes before any modifications in the updateAttribute method. - Updated index validation to use the preserved original indexes, ensuring accurate validation when altering attributes. - Improved tests to verify behavior when updating attributes with empty newKey, accounting for identical index support.
- Updated index names in tests to ensure uniqueness and avoid conflicts. - Added debug output for supportsIdenticalIndexes to aid in troubleshooting. - Cleaned up whitespace in the AttributeTests to improve code readability.
- Added a check for fulltext index support before executing assertions in the testMultipleFulltextIndexValidation method. - Ensured that tests do not perform assertions if fulltext indexing is not supported, improving test reliability.
…index-validation # Conflicts: # src/Database/Database.php # src/Database/Validator/Index.php
No description provided.