| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Used the `validateObject()` validator to keep consistency instead of a custom validator which was only used to validate objects.
There was a problem hiding this comment.
This changes behavior as the parameter options cannot be null or an array, which was possible before. Should we also pass { nullable: true, allowArray: true } as a third argument to validateObject()?
Sorry, something went wrong.
Used the `validateObject()` validator to keep consistency instead of a custom validator which was only used to validate objects.
|
It seems like something went wrong here, re-opening with a different PR. |
Sorry, something went wrong.
Used the validateObject() validator to keep consistency instead of a custom validator which was only used to validate objects. Refs: nodejs#39595
Used the validateObject() validator to keep consistency instead of a custom validator which was only used to validate objects. Refs: #39595 PR-URL: #39605 Refs: #39595 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Used the validateObject() validator to keep consistency instead of a custom validator which was only used to validate objects. Refs: #39595 PR-URL: #39605 Refs: #39595 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Used the validateObject() validator to keep consistency instead of a custom validator which was only used to validate objects. Refs: #39595 PR-URL: #39605 Refs: #39595 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
Used the validateObject() validator to keep consistency instead of a
custom validator which was only used to validate objects.