Check multiple fields to not be empty in the database item entity.
Implemented a small checkEmptyField function in Tools which checks for an empty string and zero numbers.
Usage implementation in database items also was added.
Linear task: ENG-618
Differential D3525
[services] Tunnelbroker - Empty field checks in database items • max on Mar 28 2022, 6:19 AM. Authored by Tags None Referenced Files
Details Check multiple fields to not be empty in the database item entity. Implemented a small checkEmptyField function in Tools which checks for an empty string and zero numbers. Linear task: ENG-618 Successfully built and run service using yarn run-tunnelbroker-service.
Diff Detail
Event Timeline
Comment Actions Switching to checkEmptyField function which just checks the string is empty or number is zero and throw an error.
Comment Actions It's a lot better now, but I'm not sure about function names
|