Closed WesTyler closed 7 years ago
There are some assumptions Felicity makes, such as stamping default values in and stripping optional properties out.
Both Felicity.skeleton and Felicity.example should take an optional configuration object to toggle these defaults as needed.
Felicity.skeleton
Felicity.example
Also allow option for "strict mode" in example. That is, make Felicity self-validate the example output prior to returning, and throw a validation error if invalid. (I'm looking at you regex lookarounds)
example
There are some assumptions Felicity makes, such as stamping default values in and stripping optional properties out.
Both
Felicity.skeleton
andFelicity.example
should take an optional configuration object to toggle these defaults as needed.