RamiAwar/Mongomantic

Add check for database connection

RamiAwar opened this issue ยท 1 comments

๐Ÿš€ Feature Request

Raise error if database connection is not configured

๐Ÿ”ˆ Motivation

Currently, mongomantic does not raise any errors if a mongodb connection is not established. This should be done as soon as any db calls are attempted.

๐Ÿ›ฐ Alternatives

Provide default arguments? Nah.

Hello @RamiAwar, thank you for your interest in our work!

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.