Skip to content

fix/config validation and issue 3#8

Merged
dieppa merged 2 commits into
masterfrom
fix/config_validation_and_issue_3
Feb 27, 2026
Merged

fix/config validation and issue 3#8
dieppa merged 2 commits into
masterfrom
fix/config_validation_and_issue_3

Conversation

@dieppa

@dieppa dieppa commented Feb 27, 2026

Copy link
Copy Markdown
Member

ModifyCollection was the only non-trivial operation with zero parameter
validation, allowing invalid values like validationLevel: "banana" to
pass through unchecked until MongoDB runtime rejection.
@dieppa dieppa merged commit 6538255 into master Feb 27, 2026
3 of 4 checks passed
@dieppa dieppa deleted the fix/config_validation_and_issue_3 branch February 27, 2026 15:33
dieppa added a commit that referenced this pull request Feb 27, 2026
ModifyCollection was the only non-trivial operation with zero parameter
validation, allowing invalid values like validationLevel: "banana" to
pass through unchecked until MongoDB runtime rejection.
dieppa added a commit that referenced this pull request Feb 27, 2026
- #10: Remove duplicate logger in CreateCollectionOperator that shadowed
  the parent's MongoOperator.logger
- #6: Remove redundant session warning blocks from CreateCollectionOperator
  and CreateIndexOperator; all DDL operators now rely on base class logging
- #7: Fix collation mapping for YAML input by adding Map-to-Collation
  conversion in MapperUtil.getCollation() with all 9 builder fields
- #8: Add multi parameter support to DeleteOperator (default false =
  deleteOne, matching MongoDB native default and UpdateOperator pattern)
- #9: Reject unrecognized parameter keys via checkUnrecognizedKeys()
  utility in OperationValidator, applied to all 7 non-NO_OP validators
dieppa added a commit that referenced this pull request Feb 27, 2026
- issue-10: Remove duplicate logger in CreateCollectionOperator that shadowed
  the parent's MongoOperator.logger
- issue-6: Remove redundant session warning blocks from CreateCollectionOperator
  and CreateIndexOperator; all DDL operators now rely on base class logging
- issue-7: Fix collation mapping for YAML input by adding Map-to-Collation
  conversion in MapperUtil.getCollation() with all 9 builder fields
- issue-8: Add multi parameter support to DeleteOperator (default false =
  deleteOne, matching MongoDB native default and UpdateOperator pattern)
- issue-9: Reject unrecognized parameter keys via checkUnrecognizedKeys()
  utility in OperationValidator, applied to all 7 non-NO_OP validators
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