New package - jam:easy-schema - An easy way to add schema validation

1 Like

so cool thank you! will check it out @jam @ceigey

3 Likes

I just released a new update to jam:easy-schema. It now has automatic type inference :boom:

It’s as simple as passing in your schema to your collection.

export const Todos = new Mongo.Collection('todos', { schema })

When you hover over Todos in your IDE, you should see this:

6 Likes