Skip to content

fix: add @Type(() => Date) and @IsISO8601 to audit log query DTO#818

Merged
nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
chidii:fix/audit-log-date-validation
Jun 28, 2026
Merged

fix: add @Type(() => Date) and @IsISO8601 to audit log query DTO#818
nanaf6203-bit merged 1 commit into
MettaChain:mainfrom
chidii:fix/audit-log-date-validation

Conversation

@chidii

@chidii chidii commented Jun 26, 2026

Copy link
Copy Markdown
Contributor
  • Create AuditLogQueryDto with proper date validation
  • Prevents 500 errors on malformed date strings
  • Uses class-transformer @type(() => Date)

Closes #687

- Create AuditLogQueryDto with proper date validation
- Prevents 500 errors on malformed date strings
- Uses class-transformer @type(() => Date)

Closes MettaChain#687
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

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

@nanaf6203-bit nanaf6203-bit merged commit 7405932 into MettaChain:main Jun 28, 2026
5 checks passed

Copy link
Copy Markdown
Contributor

✅ LGTM \u2014 nice work, thanks for the fix! 🚢

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.

Audit-log query DTO missing @Type(() => Date) for dateFrom/dateTo — 500 on bad input

2 participants