Skip to content

Fix #3: Backend: Configure global request validation and DTOs#156

Open
supreme2580 wants to merge 1 commit into
MissBlue00:mainfrom
supreme2580:fix/issue-3
Open

Fix #3: Backend: Configure global request validation and DTOs#156
supreme2580 wants to merge 1 commit into
MissBlue00:mainfrom
supreme2580:fix/issue-3

Conversation

@supreme2580
Copy link
Copy Markdown
Contributor

Fixes #3

Backend: Configure global request validation and DTOs

Closes #3

Enable NestJS ValidationPipe in main.ts with whitelist,
forbidNonWhitelisted, and transform options. Add class-validator
and class-transformer dependencies. Create CreatePaymentIntentDto
with validation for amount (min 0.01), currency (enum), and
optional metadata.

Closes MissBlue00#3

Co-authored-by: CommandCodeBot <noreply@commandcode.ai>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 23, 2026

@supreme2580 is attempting to deploy a commit to the missblue00's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backend: Configure global request validation and DTOs

1 participant