DEV Community

Cover image for Type validation in mongoose is not strict
Saad Saif
Saad Saif

Posted on

Type validation in mongoose is not strict

In this example, a simple type checking for the mongoose model is shown which shows that the type checking in the mongoose is not strict.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more