prax-codegen 0.10.0

Procedural macros for code generation in the Prax ORM
Documentation
1
2
3
4
5
6
7
8
9
// Fixture: _count: { email: { distinct: false } } — block value must be `true` or `{ distinct: true }`
// Expected diagnostic: "value for `_count.email` must be `true` or `{ distinct: true }`"

fn main() {
    let client = ();
    let _ = prax_codegen::aggregate!(client.user, {
        _count: { email: { distinct: false } },
    });
}