adonisjs-dtos
CommunityShip typed data across layers with DTOs.
Authoromakei
Version1.0.0
Installs0
System Documentation
What problem does it solve?
DTOs provide a typed contract between the HTTP layer and domain, ensuring safe data transfer and predictable behavior across controllers, actions, and services.
Core Features & Use Cases
- Interface-based DTOs for simple payloads that require no construction logic
- Class-based DTOs for normalization, static factories, and nested DTOs
- Clear mapping from validated payloads to domain inputs, aiding testability and separation of concerns
Quick Start
Create a DTO from your validated payload in the controller and pass it to the action to start using typed DTOs.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: adonisjs-dtos Download link: https://github.com/omakei/adonisjs-architecture-skill/archive/main.zip#adonisjs-dtos Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.