NAM-APJATEL-BACKEND/model/dto
unknown 9ae9de471d fix: make fishbone dev_end_id optional (nullable)
DeviceEndID was uuid.UUID (non-nullable) in entity, DTO, and response.
Sending empty string from the frontend caused "invalid uuid" parse error.

Changed to *uuid.UUID throughout. CreateFishbone now skips end device
lookup, type validation, port check, and port-usage update when
DeviceEndID is nil. UpdateFishbone pointer comparisons fixed accordingly.

Run once on DB: ALTER TABLE fishbone ALTER COLUMN dev_end_id DROP NOT NULL;

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 16:56:23 +07:00
..
req fix: make fishbone dev_end_id optional (nullable) 2026-04-11 16:56:23 +07:00
res fix: make fishbone dev_end_id optional (nullable) 2026-04-11 16:56:23 +07:00
user_dto.go fixing validation for username and full name 2025-06-22 17:19:18 +07:00