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

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

@sadasant

Description

@sadasant

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions