0.2.4 • Published 7 months ago

@rattus-orm/plugin-zod-validate v0.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

Data validation with Zod for Rattus ORM

Features

  1. Automatic Zod schema for basic types (number, string, boolean);
  2. Strict mode - throws error if data validation failed, or non-strict - just a warning in the console;
  3. Configurable severity for each model;
  4. Decorators support.

Installation

Use your favorite package manager. For example, yarn:

yarn add @rattus-orm/plugin-zod-validate

Documentation

For detailed docs please read documentation website.

Contributing

Contributions are welcome! Please read our Contributing Guide for details on our code of conduct, and the process for submitting pull requests.

0.2.3

10 months ago

0.2.4

7 months ago

0.2.2

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago