contexture-core icon indicating copy to clipboard operation
contexture-core copied to clipboard

Gracefully throw if types isn't a valid object

Open sadasant opened this issue 7 years ago • 0 comments

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.

sadasant avatar May 29 '18 20:05 sadasant