TODO

Optional Package that integrates simple schema, works with changeset to determine errors and validations.
Can be used with optional Repo abstraction for cleaner controllers

// example in-progress Post = { collection: 'posts', schema: { title: { type: String, max: 200 }, author: {type: String }, copies: { type: Number, min: 0 }, lastCheckedOut: { type: Date, optional: true }, summary: { type: String, optional: true } }, transform: { filter: true, trimStrings: false, convertTypes: true, removeEmptyStrings: true, } };

Did this page help you?