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! with a non-true value inside a select: block
// Expected diagnostic: "must be `true`"

fn main() {
    let client = ();
    let _ = prax_codegen::count!(client.user, {
        select: { email: 5 },
    });
}