Skip to content

feat: configure strict stellar validation pipes and decorators#436

Merged
Devsol-01 merged 1 commit intoDevsol-01:mainfrom
Goodnessukaigwe:fix/393-backend-configure-zod-class-validator-strict-validation-pipes
Mar 27, 2026
Merged

feat: configure strict stellar validation pipes and decorators#436
Devsol-01 merged 1 commit intoDevsol-01:mainfrom
Goodnessukaigwe:fix/393-backend-configure-zod-class-validator-strict-validation-pipes

Conversation

@Goodnessukaigwe
Copy link
Contributor

  • enforce Stellar key regex as ^G[A-Z2-7]{55}$ for 56-char Ed25519 public keys
  • align Soroban contract regex length to 56-char format consistency
  • apply IsStellarPublicKey to SubscribeDto.walletAddress (optional field)
  • keep strict global ValidationPipe (whitelist + forbidNonWhitelisted)
  • add focused validator unit tests for valid/invalid key cases

Closes #393

- enforce Stellar key regex as ^G[A-Z2-7]{55}$ for 56-char Ed25519 public keys
- align Soroban contract regex length to 56-char format consistency
- apply IsStellarPublicKey to SubscribeDto.walletAddress (optional field)
- keep strict global ValidationPipe (whitelist + forbidNonWhitelisted)
- add focused validator unit tests for valid/invalid key cases

Closes Devsol-01#393
@vercel
Copy link

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nestera Ready Ready Preview, Comment Mar 27, 2026 1:19am

@drips-wave
Copy link

drips-wave bot commented Mar 27, 2026

@Goodnessukaigwe 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

@Devsol-01 Devsol-01 merged commit 81bc7cd into Devsol-01:main Mar 27, 2026
4 checks passed
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 Zod/Class-Validator Strict Validation Pipes

2 participants