edgedb-derive 0.5.2

Derive macros for EdgeDB database client.
Documentation
1
2
3
4
5
6
7
8
9
// a macro should always fully qualify names it uses, so it works even if the relevant item hasn't been imported, or a conflicting item has been imported
// this test ensures that the code generated by the derive Queryable macro does not reference names from the prelude
#![no_implicit_prelude]

#[derive(::edgedb_derive::Queryable)]
#[allow(dead_code)]
struct Test {
    field: i64,
}