You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: derive MongoDB database name from URI appName parameter
- Remove hardcoded mongoDBName constant
- Parse appName query parameter from MONGODB_URI as the database name
- NewMongoDB now returns (client, dbName, error)
- Repository constructors accept dbName parameter
- DI container caches and passes the DB name to repositories
- Update test .env to include appName=httpsms in URI
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments