rydantic 0.8.0

Type-driven validation, JSON Schema, Cap'n Proto, Axum and SQLx models for Rust
Documentation
1
2
3
4
5
error: SqlModel supports one primary key
 --> tests/ui-sql/duplicate_primary_key.rs:3:71
  |
3 | struct Duplicate { #[sql(primary_key)] first:i64, #[sql(primary_key)] second:i64 }
  |                                                                       ^^^^^^