validator
Here are 1,230 public repositories matching this topic...
-
Updated
Nov 15, 2020 - TypeScript
-
Updated
Nov 15, 2020 - JavaScript
-
Updated
Nov 15, 2020 - PHP
-
Updated
Nov 13, 2020 - TypeScript
-
Updated
Nov 15, 2020 - TypeScript
-
Updated
Oct 27, 2020 - Vue
-
Updated
Nov 15, 2020 - PHP
-
Updated
Nov 4, 2020 - Go
-
Updated
Nov 16, 2020 - C#
-
Updated
Oct 6, 2020 - Dart
Update README.md
We need to update our README.md file before the 1.0 release.
-
Updated
Aug 11, 2020 - Go
- [ Y] Are you running the latest version?
- [ Y] Have you included sample input, output, error, and expected output?
- [ Y] Have you checked if you are using correct configuration?
- [ N] Did you try online tool?
Description
When a json includes a number, and running the code example appearing in fast-xml-parser site, causes
default
const V = require('fastest-validator');
const v = new V();
const schema = {
tuple: {
type: 'tuple',
empty: false,
items: [{ type: 'string', default: '1' }],
},
};
const data = { tuple: [] };
console.log(v.validate(data, schema));
console.log(data);[
{
type: 'tupleEmpty',
message: "The 'tuple' field must not be an empty
-
Updated
Nov 9, 2020 - Go
-
Updated
Sep 7, 2020 - JavaScript
-
Updated
Nov 16, 2020 - Java
-
Updated
Apr 30, 2020 - JavaScript
-
Updated
Nov 3, 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
-
Updated
Dec 26, 2019 - TypeScript
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.