validation
Here are 2,941 public repositories matching this topic...
Document extensions
The currently published docs on redux-form.com has its Examples page returning a "404" page:
https://redux-form.com/8.3.0/examples/
And, if you click on the example links in the nav sidebar, such as the Simple Example at https://redux-form.com/8.3.0/examples/simple/ then all of the sidebar links become /8.2.2/ instead of /8.3.0/
-
Updated
May 25, 2020 - TypeScript
This is a:
-
enhancement
-
CakePHP Version: any (collections).
Since you have already used psalm and it's templates feature, I would like to suggest you to type all the collections library
Versions
- vee-validate: 3.3.0
Documentation issue
I've been looking for a way to debounce running an expensive custom validator, and after some digging, I found the debounce prop, but couldn't find any documentation for it.
Is there a reason it was left out of the documentation?
Hey Erik! How's it been?
Are you submitting a bug report or a feature request?
Feature
What is the current behavior?
No mention of withTypes in the documentation.
What is the expected behavior?
༼ つ ◕_◕ ༽つ
I just found out about this from a co-worker and am not even sure yet what it exactly was! Excited to see..
Package version eg. v8, v9:
v9
Issue, Question or Enhancement:
If a fqdn starts with an integer f.e. "0.de.pool.ntp.org", the validation fails. The example "0.de.pool.ntp.org" is a valid ntp-server (see https://www.pool.ntp.org/zone/de).
Code sample, to showcase or reproduce:
package main
import(
"fmt"
"gopkg.in/go-playground/validator.v9"
)
type Settin
Validator::CurrencyCode()->validate('')
The behavior of this validation changes from v1.1.29 to v1.1.31.
valid-1.1.29: Validator::CurrencyCode()->validate('') RESULT : FALSE
valid-1.1.31: Validator::CurrencyCode()->validate('') RESULT : TRUE
This should be documented somewhere, it took a while to find out.
-
Updated
May 25, 2020 - JavaScript
The fact that exclude takes dotted notation for nested fields, but unknown does not apply to nested fields, means that exclude doesn't work for nested fields in some common use cases unless the nested schema(s) have the desired Meta.unknown setting, and then they are not runtime-flexible, which is the great benefit of Schema and load taking exclude. Somewhat new to marshmallow so mayb
E.g.
check('email').isEmail().withMessage({
message: 'Not an email',
errorCode: ErrorCodes.NOT_EMAIL,
})To support express-validator/express-validator#667 (comment).
-
Updated
May 18, 2020 - TypeScript
type Item struct {
Bt int `valid:"range(1|100)"`
}
func main() {
t := Item{-1}
ok, err := govalidator.ValidateStruct(t)
fmt.Println(ok, err)
}
output:Bt: Validator range(1|100) doesn't support kind int;
With this vulnerability, an attacker can bypass any security checks enforced by class-validator.
When class-validator is used to validate user-input, the attributes in the user-input object will be transformed into the validation class instance.
However, the transforming procedure will overwrite the internal attribute of validation class instance (e.g., constructor attribute) if the attacke
-
Updated
May 14, 2020 - JavaScript
func commonInit() {
self.title = "Choose your country"
public override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
if isFiltering {
return nil
} else if section == 0, hasCurrent {
return "Current"
} else if section == 0, !hasCurrent, hasCommon {
return "C
This is more of a development problem and does not affect users as it is with dev dependencies. When cloning the repository and running yarn, yarn warns about incorrect peer dependencies:
$ git clone https://github.com/apiaryio/dredd.git dredd-clean
Cloning into 'dredd-clean'...
remote: Enumerating objects: 54, done.
remote: Counting objects: 100% (54/54), done.
remote: CompressinDocument the API
Feature Request
It would be great to include API documentation. The Usage docs are great as a walkthrough, but when you want to go fast ("what is the name for the Field parameter for a constant value?"), API docs provide a faster answer.
Another use case: I want to inspect the __fields__ on a model, and had to read the code to get the attribute name I was looking for.
API docs would
🚀 Feature request
Current Behavior
flow(
SomeIOType.decode,
... etc
)
Accessing .decode of a type by passing it, causes lint warning:
warning Avoid referencing unbound methods which may cause unintentional scoping of this @typescript-eslint/unbound-method
However the function is specifically bound: this.decode = this.decode.bind(this);
Desi
Custom error message
Thanks for the library really useful and simple! I so requests to add functionality to pass custom error message, and it was closed with introducing labels.
But be able to create custom
DateType and DateTimeType and subclasses use datetime.datetime.strptime, which in turn uses the dateutil library. Unfortunately, this library is much slower at ISO8601 date parsing than C-based alternatives (in particular, ciso8601):
import datetime
import ciso8601
%timeit datetime.datetime.strptime('2018-01-01', '%Y-%m-%d')
# 10.5 µs ± 440 ns per loop (mean ± std. dev. of 7 r
-
Updated
May 23, 2020 - PHP
It doesn't seem clear in the spec that a schema evaluates to true if all its keywords also evaluate to true. i.e. an allOf behaviour.
# doc and more doc
Add more doc in the code urgent the Validator class
This tools is great, we can define and validate various config from file, env, cli arg... and we can even put a short doc on each field.
But what if I want to display a clear and concise doc reference on a website on a cli usage?
Should this package be able to handle that? If not, is it compatible with other packages doing that need?
Thanks
-
Updated
Apr 28, 2020 - Go
-
Updated
Dec 19, 2019 - Swift
-
Updated
Apr 23, 2020 - PHP
Improve this page
Add a description, image, and links to the validation topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the validation topic, visit your repo's landing page and select "manage topics."
e.g.
isPassportNumber, etc.