Skip to main content

SlugService

A service that handles slug generation using the configured SlugStrategy.

Signature

constructor

method(configService: ConfigService) => SlugService

generate

method(ctx: RequestContext, params: SlugGenerateParams) => Promise<string>

Generates a slug from the input string using the configured SlugStrategy.

Was this chapter helpful?
Report Issue
Edited Feb 25, 2026ยทEdit this page