We have several positions in the SDK where we accept type PublicKey and for now we're using .any() which is not really a validation. Please propose a solution to either use Joi in some other way to custom handle that type OR add a secondary validation to handle those inputs.
We have several positions in the SDK where we accept type
PublicKey
and for now we're using.any()
which is not really a validation. Please propose a solution to either use Joi in some other way to custom handle that type OR add a secondary validation to handle those inputs.