jaspy2 / jaspy

MIT License
8 stars 4 forks source link

State updates on Switchmaster switch cause deployState to default back to 0 if not given in an update #15

Closed ptMuta closed 5 years ago

ptMuta commented 5 years ago

This is caused by view model fields not being nullable. Fix is to make all non-required fields nullable and to null check during database update.