chore: remove query for ship in getShipController #2022

Merged
Sainan merged 1 commits from simplify-get-ship into main 2025-05-08 17:37:01 -07:00
Owner

as far as I can tell, the ShipAttachments and SkinFlavourItem are just here due to the fact that the type from ShipExterior is being reused, but they aren't actually needed because the interior can't have attachments or flavour items - and if it could, they would be different from the exterior anyway.

as far as I can tell, the ShipAttachments and SkinFlavourItem are just here due to the fact that the type from ShipExterior is being reused, but they aren't actually needed because the interior can't have attachments or flavour items - and if it could, they would be different from the exterior anyway.
Sainan added 1 commit 2025-05-08 04:56:41 -07:00
chore: remove query for ship in getShipController
All checks were successful
Build / build (pull_request) Successful in 1m40s
Build / build (push) Successful in 1m50s
ceaa172675
as far as I can tell, the ShipAttachments and SkinFlavourItem are just here due to the fact that the type from ShipExterior is being reused, but they aren't actually needed because the interior can't have attachments or flavour items - and if it could, they would be different from the exterior anyway.
Owner

Initially I did it to mimick the original getShip response, perhaps you can compare if it still matches the original response.
I did not just add it because of some type requirement or so, it had a functional or structural reason (matching original getship).
If all works anway, sure, nice.

Initially I did it to mimick the original getShip response, perhaps you can compare if it still matches the original response. I did not just add it because of some type requirement or so, it had a functional or structural reason (matching original getship). If all works anway, sure, nice.
Sainan merged commit 8d788d38a5 into main 2025-05-08 17:37:01 -07:00
Sainan deleted branch simplify-get-ship 2025-05-08 17:37:01 -07:00
Sign in to join this conversation.
No description provided.