wasabee-project / Wasabee-Server

The Server-Side component for the Wasabee Project tools for Enlightened Agents.
MIT License
11 stars 5 forks source link

uint8 also in DB #27

Closed xscreach closed 1 year ago

xscreach commented 1 year ago

Synchronize api and db types for zone position allowing a bit more zonepoints

cloudkucooland commented 1 year ago

You canceled the PR for the change at the other layer. You'll need to make that one unsigned as well.

xscreach commented 1 year ago

You canceled the PR for the change at the other layer. You'll need to make that one unsigned as well.

the api layer already has uint8 for position on zonepoints (see https://github.com/wasabee-project/Wasabee-Server/blob/master/model/zone.go#L73) In the end, we don't really need uint16 for position as it's really too big - no changes on api layer required.

or did you mean some other layer?