rydantic 0.7.0

Type-driven validation, JSON Schema, Cap'n Proto, Axum and SQLx models for Rust
Documentation
1
2
3
4
5
6
7
error: auto_increment requires primary_key
 --> tests/ui-sql/auto_without_primary.rs:2:16
  |
2 | #[derive(Model,SqlModel)]
  |                ^^^^^^^^
  |
  = note: this error originates in the derive macro `SqlModel` (in Nightly builds, run with -Z macro-backtrace for more info)