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: aggregate! with an unknown top-level key
// Expected diagnostic: "unknown key `_foo`"

fn main() {
    let client = ();
    let _ = prax_codegen::aggregate!(client.user, {
        _foo: { id: true },
    });
}