Skip to content

refactor: improvements and issues#22

Merged
dieppa merged 2 commits into
masterfrom
fixes-improvements
Mar 17, 2026
Merged

refactor: improvements and issues#22
dieppa merged 2 commits into
masterfrom
fixes-improvements

Conversation

@davidfrigolet

Copy link
Copy Markdown
Collaborator

refactor: improvements and issues

@dieppa dieppa force-pushed the fixes-improvements branch from 0954597 to db989d5 Compare March 16, 2026 11:58

@dieppa dieppa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Missing test coverage for Issue 3 (null option values): checkNullOptionValues() is called in 5 validators (CreateIndex, Insert, Update, CreateView, RenameCollection), but tests only
    cover 3 of them (CreateIndex, Insert, Update). CreateView and RenameCollection null option value tests are missing. I'd recommend adding those two tests for completeness.

    DONE


Everything else is solid — guard ordering in RenameCollectionOperator is correct, helper precondition patterns are consistent, static lookup map is properly initialized and immutable,
and collation building now uses the same type-safe helpers as the rest of the mapper layer.

Comment thread src/main/java/io/flamingock/template/mongodb/mapper/IndexOptionsMapper.java Outdated
@dieppa dieppa merged commit ece9a3d into master Mar 17, 2026
4 checks passed
@dieppa dieppa deleted the fixes-improvements branch March 17, 2026 01:27
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.

2 participants