You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The allow method exists on the bound object, but is not bound properly, as the error below is generated. To work around the issue, we must use allow directly from any, which is not the optimal solution.
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.
lockbot
locked as resolved and limited conversation to collaborators
Jan 9, 2020
Context
What are you trying to achieve or the steps to reproduce ?
When using
joi.bind()
, methods are returned as part of the resulting object which are not fully bound and cause subsequent errors:The
allow
method exists on the bound object, but is not bound properly, as the error below is generated. To work around the issue, we must useallow
directly fromany
, which is not the optimal solution.Which result you had ?
What did you expect ?
The text was updated successfully, but these errors were encountered: