zipkin-js icon indicating copy to clipboard operation
zipkin-js copied to clipboard

Input validation

Open eirslett opened this issue 9 years ago • 1 comments

We should make zipkin-js' public API fool-proof, by validating every input argument to every public function.

eirslett avatar Jun 09 '16 10:06 eirslett

Using typescript and generate typings could be one solution. More low-hanging would be to use something like json-schema or joi if there are rich options objects.

sveisvei avatar Jun 09 '16 13:06 sveisvei