ruprizzle-parser 0.1.0-alpha.3

Schema DSL parser for the ruprizzle ORM
Documentation
---
source: crates/parser/tests/invalid.rs
expression: rendered
---
1 problem(s) found in v08_missing_back_relation
    Diagnostic severity: error
diagnostic code: ruprizzle::schema_invalid

Error: `Post.author` points at `User`, which has no matching field
    Diagnostic severity: error

Begin snippet for v08_missing_back_relation starting at line 12, column 1

snippet line 12:   authorId Uuid
snippet line 13:   author   User @relation(fields: [authorId], references: [id])
    label at line 13, columns 17 to 63: no counterpart on `User`
snippet line 14: }
diagnostic help: add the other side to `User`, e.g. `posts Post[]`
diagnostic code: ruprizzle::relation::missing_back_reference