Skip to content

Add support enum list into number validation#350

Open
hotdream1990 wants to merge 1 commit intoicebob:masterfrom
hotdream1990:master
Open

Add support enum list into number validation#350
hotdream1990 wants to merge 1 commit intoicebob:masterfrom
hotdream1990:master

Conversation

@hotdream1990
Copy link

Add support enum list into number validation.
Ex:
type: { type: 'number', enum: [1, 3, 5, 7] },

Add support enum list into number validation
Copy link
Owner

@icebob icebob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plz add relevan tests as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants