Skip to content

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

Open
chidii wants to merge 1 commit into
MettaChain:mainfrom
chidii:fix/audit-log-date-validation
Open

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

Conversation

@chidii

@chidii chidii commented Jun 26, 2026

Copy link
Copy Markdown
  • 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

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

1 participant