Much of our system requires constraints to work properly. currently, these constraints have had little support at any layer - save for maybe the storage layer.
We need to add input validation to each of our api methods to ensure that our system can never obtain an invalid state.
For example, at the user level, domain names take the form "example-io" (letters, numbers, dashes, etc...) - however, this is not enforced anywhere!
Much of our system requires constraints to work properly. currently, these constraints have had little support at any layer - save for maybe the storage layer.
We need to add input validation to each of our api methods to ensure that our system can never obtain an invalid state.
For example, at the user level, domain names take the form "example-io" (letters, numbers, dashes, etc...) - however, this is not enforced anywhere!
AC:
Corresponding tests added to the /sdk package.