Commit Graph

12 Commits

Author SHA1 Message Date
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
areeqakbr a115aac9f7 fix logical error 2025-06-23 11:12:33 +07:00
areeqakbr 0f034cc332 adding without connection and without towers 2025-06-18 16:14:16 +07:00
areeqakbr 8e69a70092 fixing for device details and logic error on devices 2025-06-16 11:42:58 +07:00
areeqakbr ece05cee18 adding more response for port assignments 2025-06-14 15:30:04 +07:00
areeqakbr 751461bc34 adding trx operations and more complex features 2025-06-12 22:41:55 +07:00
areeqakbr 32c775ab24 adding nearest device and some addtion feature more complex 2025-06-11 22:48:11 +07:00
areeqakbr d5f611e390 adding more complex response and more readable also adding some feature like rbac 2025-06-11 08:24:42 +07:00
areeqakbr 83c8cb4d0d edit responses api for better responses (backbone and devices) 2025-03-24 10:50:18 +07:00
areeqakbr 54d191dcb4 [FEATURE] adding update and fixing on get by id 2025-02-14 15:27:01 +07:00
areeqakbr adf2d1f379 adding get by id 2025-02-13 15:47:01 +07:00
areeqakbr b79701e87c project init 2025-02-13 13:46:06 +07:00