There was no judgement (re: defaulting was poor taste) on my part. I may have just decided to make it a non-empty-string and given there were no existing tests that failed otherwise, left it at that.
Auston - the validation in guestagent does not get invoked until the request hits the specific guestagent instance which is long after the end-user request returns. Some of those validations may need to pulled up into the api service.
Riddhi,
There was no judgement (re: defaulting was poor taste) on my part. I may have just decided to make it a non-empty-string and given there were no existing tests that failed otherwise, left it at that.
Auston - the validation in guestagent does not get invoked until the request hits the specific guestagent instance which is long after the end-user request returns. Some of those validations may need to pulled up into the api service.