bootgs-validation

Installation
SKILL.md

Bootgs Validation

Available files

  • references/decorators-and-pipes.md — full list of validation decorators and Parse pipes. Load it when you need to check whether a specific constraint exists or what a pipe coerces to; the pattern for using them is below.

Model

bootgs validates individual parameters, not whole DTO classes — there is no class-validator-style @ValidateNested/decorated-DTO pipeline. A validation decorator stacks on top of an extraction decorator (@Query, @Param, @Body) and runs against the already-extracted value before the handler body executes:

@Get()
findAll(
  @Query("page") @Min(1) page: number,
  @Query("limit") @Max(100) limit: number,
) { /* page and limit are guaranteed valid here */ }

Multiple validators stack freely on one parameter; each runs in decorator-application order. The available decorators — @Min, @Max, @Email, @Pattern, @Size, @NotBlank, @NotEmpty, @AssertTrue/@AssertFalse, @Positive/@PositiveOrZero, @Negative/@NegativeOrZero — are listed with their exact checks in references/decorators-and-pipes.md.

Installs
4
Repository
bootgs/skills
GitHub Stars
1
First Seen
2 days ago
bootgs-validation — bootgs/skills