Skip to content

feat: extend user typeorm entity with web3 properties#434

Merged
Devsol-01 merged 1 commit intoDevsol-01:mainfrom
Goodnessukaigwe:fix/395-backend-extend-user-typeorm-entity
Mar 27, 2026
Merged

feat: extend user typeorm entity with web3 properties#434
Devsol-01 merged 1 commit intoDevsol-01:mainfrom
Goodnessukaigwe:fix/395-backend-extend-user-typeorm-entity

Conversation

@Goodnessukaigwe
Copy link
Copy Markdown
Contributor

  • User entity includes walletAddress and nonce columns for web3 features
  • Migration 1740345600000-AddWeb3PropertiesToUser.ts handles schema changes
  • Implement proper unique constraint violation handling in user.service.ts
  • Handle PostgreSQL error code 23505 for duplicate wallet/email/publicKey
  • Provide clear ConflictException messages for each conflict type
  • Updated create() method to catch and translate database errors

Closes #395

- User entity includes walletAddress and nonce columns for web3 features
- Migration 1740345600000-AddWeb3PropertiesToUser.ts handles schema changes
- Implement proper unique constraint violation handling in user.service.ts
- Handle PostgreSQL error code 23505 for duplicate wallet/email/publicKey
- Provide clear ConflictException messages for each conflict type
- Updated create() method to catch and translate database errors

Closes Devsol-01#395
@vercel
Copy link
Copy Markdown

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 0:37am

@Devsol-01 Devsol-01 merged commit 679813e 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] Extend User TypeORM Entity

2 participants