Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Gracefully throw if types isn't a valid object #18

Open
sadasant opened this issue May 29, 2018 · 0 comments
Open

Gracefully throw if types isn't a valid object #18

sadasant opened this issue May 29, 2018 · 0 comments

Comments

@sadasant
Copy link
Contributor

We currently use the example types in the following way: require('contexture-mongo/types')(). If by any chance we forget to call this as a function, contexture doesn't produce any error, so it looks like the search went through without results.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants