If a Database with an empty name is made, the first operation on that database will error with the Database field must be set on Operation. This error message comes from the driver.InvalidOperationError type (https://github.com/mongodb/mongo-go-driver/blob/master/x/mongo/driver/operation.go#L49) and could be improved to something like "database name cannot be empty".
- Assignee:
- Matt Dale
- Reporter:
- Divjot Arora (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
2 Start watching this issue
- Created:
- Updated:
- Resolved: