contexture-core
contexture-core copied to clipboard
Gracefully throw if types isn't a valid object
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.