include!() { /* proc-macro */ }Expand description
prax::include! — schema-aware shape macro returning a
<Model>Include value. Composes with the read macros via
..spread to build reusable relation-include shapes.
ⓘ
let with_posts = prax::include!(User, { posts: true });
let _ = prax::find_unique!(client.user, {
where: { id: 1 },
include: { ..with_posts },
});Distinct from std::include! — they live in different modules and
there is no ambiguity at the call site as long as the path is
fully qualified (prax::include!).