[MINOR] Nullable foreign key types in DTOs #50

Closed
opened 2026-01-29 18:52:27 +00:00 by jason.woltje · 0 comments
Owner

UpdateIdeaDto and UpdateEventDto have string | null type issues with Prisma.

Prisma optional fields should use string | undefined or just string in DTOs, not string | null.

Files affected:

  • src/ideas/dto/update-idea.dto.ts
  • src/events/dto/update-event.dto.ts
UpdateIdeaDto and UpdateEventDto have `string | null` type issues with Prisma. Prisma optional fields should use `string | undefined` or just `string` in DTOs, not `string | null`. Files affected: - src/ideas/dto/update-idea.dto.ts - src/events/dto/update-event.dto.ts
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#50