Skip to content

Add new validation number().port()#1452

Merged
Marsup merged 1 commit intohapijs:masterfrom
rkt2spc:feature/validate-port
Mar 11, 2018
Merged

Add new validation number().port()#1452
Marsup merged 1 commit intohapijs:masterfrom
rkt2spc:feature/validate-port

Conversation

@rkt2spc
Copy link
Contributor

@rkt2spc rkt2spc commented Mar 11, 2018

Following up #1346 and deprecate #1419
Usage:

const schema = Joi.number().port(); // Intergers range from 0 to 65535

@Marsup Marsup self-assigned this Mar 11, 2018
@Marsup Marsup added the feature New functionality or improvement label Mar 11, 2018
@Marsup Marsup added this to the 13.2.0 milestone Mar 11, 2018
@Marsup Marsup merged commit 8224db3 into hapijs:master Mar 11, 2018
@Marsup
Copy link
Collaborator

Marsup commented Mar 11, 2018

Thanks!

Marsup added a commit that referenced this pull request Mar 11, 2018
@lock
Copy link

lock bot commented Jan 9, 2020

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.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New functionality or improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants