feat(tickets): derive Serialize+Deserialize on all ticket DTOs #396

Closed
David wants to merge 0 commits from dev-yousif into main
Owner

Adds Serialize on the request DTOs (CreateTicketRequest, UpdateTicketRequest, CreateNoteRequest, TicketFilter) and Deserialize on the response DTOs (TicketResponse, TicketStatusSummary, TicketPrioritySummary, TicketNoteResponse, TicketAttachmentResponse) so the byte-identical client copy of this module can both consume responses and post bodies typed against the shared structs. Server never deserialises its own responses or serialises requests, so the extra impls are unused on this side but the round-trip parity is what the client repo's drift CI guards against.

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

Adds Serialize on the request DTOs (CreateTicketRequest, UpdateTicketRequest, CreateNoteRequest, TicketFilter) and Deserialize on the response DTOs (TicketResponse, TicketStatusSummary, TicketPrioritySummary, TicketNoteResponse, TicketAttachmentResponse) so the byte-identical client copy of this module can both consume responses and post bodies typed against the shared structs. Server never deserialises its own responses or serialises requests, so the extra impls are unused on this side but the round-trip parity is what the client repo's drift CI guards against. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
feat(tickets): derive Serialize+Deserialize on all ticket DTOs
All checks were successful
Check / fmt + clippy + compile + tests (pull_request) Successful in 1m0s
Create release / Create release from merged PR (pull_request) Has been skipped
2653c401fb
Adds Serialize on the request DTOs (CreateTicketRequest, UpdateTicketRequest, CreateNoteRequest, TicketFilter) and Deserialize on the response DTOs (TicketResponse, TicketStatusSummary, TicketPrioritySummary, TicketNoteResponse, TicketAttachmentResponse) so the byte-identical client copy of this module can both consume responses and post bodies typed against the shared structs. Server never deserialises its own responses or serialises requests, so the extra impls are unused on this side but the round-trip parity is what the client repo's drift CI guards against.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
David closed this pull request 2026-06-28 22:39:48 +02:00
David deleted branch dev-yousif 2026-06-28 22:39:52 +02:00
Some checks are pending
Check / fmt + clippy + compile + tests (pull_request) Successful in 1m0s
Required
Details
Create release / Create release from merged PR (pull_request) Has been skipped
E2E / * (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!396
No description provided.