validator
Here are 1,120 public repositories matching this topic...
Versions
- vee-validate: 3.1.3
- vue: 2.6.10
- vue-jest: 3.0.5
- @vue/test-utils: ^1.0.0-beta.31
Describe the bug
I have a BaseInput.vue component which has one default <slot></slot> wrapped in a <validation-provider>. When it has errors it will show the error message inside a <div class="error-message"></div>.
But, in my tests, when I pass a <input> to the default slo
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.
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
Jun 18, 2020 - TypeScript
-
Updated
Apr 29, 2020 - Vue
-
Updated
Jun 15, 2020 - PHP
Hi guys. Is there any documentation for the methods found in ShaderLang.h?
For example,what does TShader::setInvertY do?
I have just started so pretty sure I am going to have more questions related to the API.
-
Updated
May 28, 2020 - Go
-
Updated
Jun 17, 2020 - C#
-
Updated
Jun 1, 2020 - Go
check if NNNNNNN-DD.AAAA.JTR.OOOO is valid.
Hi,
How can we use this package in the validate method of mongoosejs? (like validator.js or @hapi/joi)
const mongoose = require('mongoose');
const validator = require('validator');
const userSchema = new mongoose.Schema({
name: {
type: String,
required: [true, 'A tour must have a name'],
validate: [validator.isAlpha, 'name must only contain characters']
},
pAdd Unit tests
The current code coverage is very low, we need to add more unit tests.
-
Updated
Jun 9, 2020 - Dart
-
Updated
Jun 8, 2020 - Go
Currently the example value can have a different data structure that is defined in the schema and the swagger-cli validate doesn't rise an error.
example:
foo:
bar: a
baz: b
type: object
properties:
foo:
type: integer
format: int32
default: 0I think it would be very useful if the example value would be validated against
-
Updated
Apr 30, 2020 - JavaScript
-
Updated
Jun 18, 2020 - Java
-
Updated
Apr 16, 2020 - JavaScript
Add CONTRIBUTING.md
- Guidance on adding a linter new rule-action (if none of the existing ones can perform the action, or be extended)
- Expand on guidelines re: keeping commits to logical areas of the code / individual packages where possible
- Use of
conventional-commitstandard going forward - Advice not to include any
package-lock.jsonchanges PRs, for security reasons. File will be regene
There is an issue on this page:
https://indicative-v5.adonisjs.com/docs/requiredwithoutany
Should it be?
Ensures the field is required when any of the other fields has empty values.
Actually it's impossible to use constraints with optional values.
For example:
this doesn't work if birth_date is not present
input UserInput {
name: String @constraint(minLength: 2),
surname: String @constraint(minLength: 2),
dni: String,
birth_date: String @constraint(format: "date")
}
And this would be awesome!
input UserInput {
name: String @constra
-
Updated
Apr 23, 2019 - JavaScript
Improve this page
Add a description, image, and links to the validator topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the validator topic, visit your repo's landing page and select "manage topics."
e.g.
isPassportNumber, etc.