No error thrown if validateFunc is supplied but 'key' is omitted.
See original GitHub issueif(options.key && typeof options.validateFunc === 'function') {
This check fails but prompts an error related to verifyFunc.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Validatefunc is ignored when referencing a variable ... - GitHub
Hi, I'm writing a custom terraform provider and use ValidateFunc for validating input. This doesn't seem to work for referenced values?
Read more >Schema Behaviors | Terraform - HashiCorp Developer
Must be set if Optional is omitted and element is not Computed. Indicates that this element must be provided in the configuration. Omitting...
Read more >FluentValidation: Check if one of two fields are empty
I don't know if I have outdated library, but this answer threw System.InvalidOperationException with error message: Property name could not be ...
Read more >API Reference | Ajv JSON schema validator
If schema is invalid, an error will be thrown. ... unnecessary compilation of schemas that are containers for other schemas but not used...
Read more >Updates - FormValidation
It might cause an issue if the form children have the flex-grow style ... throw exception if the fied doesn't exist or has...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
as elaborated on #226 perhaps validateFunc could also be optional if the jwtwebtoken checks are sufficient.
also currently it is not documented that if you supply both, a verifyFunc and a validationFunc, the verifyFunc is completely ignored.
I was hoping I could get a PR in quickly, but to give you more details it was undefined.
On Friday, August 26, 2016, Nelson notifications@github.com wrote: