From aafe66b2cd826e8101450882dc251f1a9a036536 Mon Sep 17 00:00:00 2001 From: Michael Scholtz Date: Wed, 25 Oct 2017 16:35:04 +0200 Subject: [PATCH] Remove outdated statements from README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 178d595..3b4e13c 100644 --- a/README.md +++ b/README.md @@ -737,7 +737,6 @@ Failed casts return the input value. #### `string.required(message: ?string): Schema` The same as the `mixed()` schema required, except that empty strings are also considered 'missing' values. -To allow empty strings but fail on `undefined` values use: `string().required().min(0)` #### `string.min(limit: number | Ref, message: ?string): Schema` @@ -909,7 +908,6 @@ not validate its contents. #### `array.required(message: ?string): Schema` The same as the `mixed()` schema required, except that empty arrays are also considered 'missing' values. -To allow empty arrays but fail on `undefined` values use: `array().required().min(0)` #### `array.min(limit: number | Ref, message: ?string): Schema`