Skip to content

refactor: template name in annotation#4

Merged
dieppa merged 1 commit into
developfrom
refactor/template_name_in_annotation
Feb 20, 2026
Merged

refactor: template name in annotation#4
dieppa merged 1 commit into
developfrom
refactor/template_name_in_annotation

Conversation

@dieppa

@dieppa dieppa commented Feb 20, 2026

Copy link
Copy Markdown
Member

No description provided.

@dieppa dieppa merged commit a69214e into develop Feb 20, 2026
3 of 4 checks passed
dieppa added a commit that referenced this pull request Feb 27, 2026
Add instanceof type checks to 3 validators that only checked parameter
existence but not type (filter in Update/Delete, keys/indexName in
DropIndex). Also add options type validation to the 5 validators for
operations that support options (Insert, Update, CreateIndex, CreateView,
RenameCollection).

This closes the remaining ClassCastException gaps in MongoOperation
getters — since validate() runs at load time via the TemplatePayload
contract, the @SuppressWarnings("unchecked") casts are now effectively
safe.

Resolves ANALYSIS.md issue #4.
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