nest generate resolver <resolver>

Generate a GraphQL resolver declaration

Arguments

NameDescription
resolverThe name of the resolver

Options

NameDescription
-d, --dry-runReport actions that would be taken without writing out results
-p, --project <project>Project in which to generate files
--flatEnforce flat structure of generated element
--specEnforce spec files generation (default: true)
--no-specDisable spec files generation
-c, --collection <collection>Schematics collection to use