SlugService
A service that handles slug generation using the configured SlugStrategy.
constructor
method
(configService: ConfigService) => SlugServicegenerate
method
(ctx: RequestContext, params: SlugGenerateParams) => Promise<string>Generates a slug from the input string using the configured SlugStrategy.
Was this chapter helpful?