Skip to content

Fix/340 validation pipes - #381

Open
amossamuel851-tech wants to merge 3 commits into
UnityChainxx:mainfrom
amossamuel851-tech:fix/340-validation-pipes
Open

Fix/340 validation pipes#381
amossamuel851-tech wants to merge 3 commits into
UnityChainxx:mainfrom
amossamuel851-tech:fix/340-validation-pipes

Conversation

@amossamuel851-tech

@amossamuel851-tech amossamuel851-tech commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Standardize request validation across backend controllers by relying on the global validation pipe instead of per-controller inline pipes.

Changes

  • Add a global ValidationPipe (whitelist + transform) in main.ts
  • Remove duplicated @UsePipes(new ValidationPipe(...)) from daily-reward, puzzle-access-log, puzzle-fork, puzzle-versioning, quiz, report, and user controllers
  • Controllers now share identical validation defaults

Testing

No new tests included in this PR.

Related Issues

Closes #340

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@amossamuel851-tech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Copy link
Copy Markdown
Contributor

Approved — thanks for the contribution. Merging this now.

Copy link
Copy Markdown
Contributor

@381 Please resolve the merge conflicts against \�[1mmain\�[0m and push the updated branch so this PR can be reviewed and merged. Thanks!

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.

[P1][backend] Standardize validation pipes across controllers

2 participants