Open ackao opened 3 years ago
I think we might be able to do better here
After some internal discussion, I think that this package will be good for server-side schema enforcement.
How do we want to tackle this in the client?
It depends how it's managed. I think either making the fields in the type mandatory or otherwise state are both fine, former is likely better.
Describe the bug leaving a field blank in the rotation picker (by deleting a number) causes backend to typeerror and return 500
To Reproduce Steps to reproduce the behavior:
Expected behavior no kaboom, mp/min stats are updated correctly in the table
Screenshots![image](https://user-images.githubusercontent.com/3639365/119693718-8e413f80-be1a-11eb-80ef-812fb1b1fdf1.png)
Desktop (please complete the following information):
Additional context did not test for what happens if stats fields in table are blanked out but i feel suspicious about that too