hapijs / hapijs/joi

How to set 'covert' to false globally

Open
#2,682 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
21.2k
Forks
1.5k
Avg merge
4h 57m
Merged PRs (30d)
14

Description

I wan't to set convert: false globally, rather than in:

`
Joi.validate({age: '1'}, {convert: false})
`
how can i coding?

Contributor guide

Open the contributing guide

Research direction

The issue names Joi.validate and the convert option but no files or tests. Start by checking Joi's validation-options documentation and the implementation of Joi.validate for configuration scope; done means confirming whether a global setting is supported and documenting or specifying the required behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.