Skip to content

chore: backend auth validation and StrapiClientService cleanup - #45

Merged
Am1its merged 1 commit into
mainfrom
chore/backend-cleanup
Jul 4, 2026
Merged

Am1its merged 1 commit into
mainfrom
chore/backend-cleanup

Conversation

@Am1its

@Am1its Am1its commented Jun 30, 2026

Copy link
Copy Markdown
Owner
  • Added LoginDto / RegisterDto with class-validator decorators — bad payloads now return a proper 400 before hitting AuthService
  • Applied global ValidationPipe({ whitelist: true }) in main.ts
  • Extracted parseJson<T>() private helper in StrapiClientService — eliminates duplicated JSON parse try/catch in get(), getById(), and post()

@Am1its
Am1its requested review from OhayoNB and leesharon as code owners June 30, 2026 19:46
@Am1its
Am1its merged commit f30b967 into main Jul 4, 2026
1 check passed
@Am1its
Am1its deleted the chore/backend-cleanup branch July 4, 2026 11:00
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.

2 participants