Expand description
#[expose], re-exported by nestrs-resource.
An attribute (not a derive) so it composes with #[sea_orm::model], which
re-emits the struct and would double-expand a sibling derive.
Attribute Macros§
- expose
- Expose a SeaORM entity to GraphQL + OpenAPI from one declaration. Emits a
GraphQL output object (
SimpleObject+JsonSchema) andCreate/Updateinput types; re-emits the entity untouched so the ORM macros keep full power.