@dryv/class-validatorv0.7.0
class-validator DTO classes with field limits, formats and invariants.
dryv pack add @dryv/class-validatorChangelog
0.7.0
- Examples, specs and the shared test helper write to a new
testoutput slot.
0.6.0
- Output moves under
schema/:<group>/schema/dto/andcommon/schema/dto/.
0.5.0
- Keep each DTO readable: examples go to
<group>/dto/examples/and specs to<group>/dto/testing/, so<group>/dto/holds only the DTOs.
0.4.0
- Generate
<name>.dto.example.ts(providesschema.examples) and<name>.dto.spec.ts(Vitest: accepts its contract example, rejects unknown properties and every single-constraint violation). - Required nested objects get
@IsDefined().
0.3.0
- Require
property.enum.typesandproperty.types(for example frominject/types/typescript) and stop generating enums; DTO fields use the shared named types.
0.2.0
- Place enums per IR group (
<group>/dto/enums/), so groups may reuse an enum name. - Remove the aggregate
common/dto/index.tsbarrel: groups may reuse short names, and generated code imports DTOs by file.
0.1.0
- First release in
dryvcode/packs, copied from the Dryv repository's exampleclass-validatorpack.