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
When validating, if the value does not exist, set the second value from an environment variable; if it is still unavailable, make it required.
I tried implementing it as below, and it seems to work. Is it okay?
Runtime
Node js
Runtime version
Node 18
Module version
"joi": "^17.13.3",
Used with
No response
Any other relevant information
No response
How can we help?
When validating, if the value does not exist, set the second value from an environment variable; if it is still unavailable, make it required.
I tried implementing it as below, and it seems to work. Is it okay?
The text was updated successfully, but these errors were encountered: