Skip to main content

Crate nest_rs_resource_macros

Crate nest_rs_resource_macros 

Source
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) and Create/Update input types; re-emits the entity untouched so the ORM macros keep full power.