ccarruitero / ccarruitero/makemehapi

The exercise "Validation Using Joi Object" passed without .when() chaining on username validation

Open
#164 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
480
Forks
104
PR merge metrics
No merged PRs in 30d

Description

Just wanted to bring your attention to this exercise that passed with `username: Joi.string()`, instead of `username: Joi.string().when('isGuest', { is: false, then: Joi.required() })`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.