Closed Firestone82 closed 5 months ago
Wait what Do you want to update only without inserts or?
When sending PUT, this method should override all data of specified object. Currently it only updates those objects that already exists by some id. So when I send PUT without any hexes nothing changes.. But it should have removed all hexes.
When updating parts (setting its hexes), it somehow duplicates some hexes instead of removing them..
PUT /parts/1
Instead of replacing hexes it creates new one if they dont exists, and those that exists get updated.