xogroup / felicity

Javascript object constructors and sample data based on Joi schema.
Other
111 stars 9 forks source link

Add Example support for String schema: invert regex option #81

Closed WesTyler closed 7 years ago

WesTyler commented 7 years ago

Description

Support new Joi v10 feature: Joi.string().regex(/pattern/, { invert: true }) to maintain api parity with Joi.

Related Issue

73

Motivation and Context

In order to stay up to date with Joi api, this adds support for new features introduced in Joi v10.x

Types of changes

Checklist: