Skip to content

Replace all uses of 'interface{}' with 'any' in the mongo/ packages. #2139

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

matthewdale
Copy link
Collaborator

Summary

Replace all uses of interface{} with any in the "mongo/" packages.

Background & Motivation

any is a type alias for interface{}, so is semantically identical. The only change is a slightly cleaner syntax.

@matthewdale matthewdale requested a review from a team as a code owner July 25, 2025 20:52
@matthewdale matthewdale requested a review from qingyang-hu July 25, 2025 20:52
@mongodb-drivers-pr-bot mongodb-drivers-pr-bot bot added the review-priority-low Low Priority PR for Review: within 3 business days label Jul 25, 2025
Copy link
Contributor

API Change Report

No changes found!

qingyang-hu
qingyang-hu previously approved these changes Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement review-priority-low Low Priority PR for Review: within 3 business days
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants