Skip to content
#

validator

Here are 1,020 public repositories matching this topic...

vee-validate
hannesaasamets
hannesaasamets commented Nov 3, 2019

Versions

  • vee-validate: 3.0.11
  • vue: 2.6.10

Describe the bug
The usage example in the docs for HOC withValidation freezes Vue without any specific error message.

To reproduce
Steps to reproduce the behavior:

  1. Copy the demo to any environment. See demo link (preferably in Chrome, since Firefox freezes completely).
  2. Navigate to the view implementing the enhanced compo
nullxone
nullxone commented Jul 28, 2019

What results did you expect?

Observed
removeKeyword('required') does not work without a change to loopRequired option
Expected
removeKeyword('required') should work without setting additional options

Observed
loopRequired option cannot be set to 0 (it is falsy in Ajv constructor), it can however be set to -1
Expected
can set loopRequired to 0

**What version of Ajv are you usin

henriquemoody
henriquemoody commented Feb 24, 2018

TL;DR

  • Make sure you're based on the master branch
  • Refactor all rules as in #902
  • Write a comment with the rule you're going to work on before sending a PR

It's been a MAJOR or MINOR version of the library has been released. There are enough things to release the version 2.0 but I need your help.

I wrote new [Contribution Guidelines](https://github.com/Respect/Validation/blob

xiaofen9
xiaofen9 commented Oct 19, 2019

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

swagger-parser
jmtelljohann
jmtelljohann commented Jul 25, 2019

We are creating our API spec using the following:
SwaggerParser.YAML.stringify(apiSpec)

Since the YAML property isn't included in the Typescript definition file, we have to have the Typescript compiler ignore the definition file entirely to avoid a compile error.

It would be nice if the definition file exposed this property.

🔥 (持续更新, 目前含100+工具类) DevUtils 是一个 Android 工具库, 主要根据不同功能模块,封装快捷使用的工具类及 API 方法调用。 该项目尽可能的便于开发人员,快捷、快速开发安全可靠的项目,以及内置部分常用的资源文件,如 color.xml

  • Updated Feb 11, 2020
  • Java
crizo23
crizo23 commented Jan 31, 2020

Detailed Description

validateSync() is an unfortunately named method since it's described as “a synchronous method which returns a boolean”. In fact, if a callback is not set, it's treated as a Promise, and so the library consumer must act on the promise with the .then/.catch syntax. This isn't a problem when the validation succeeds, but when an error is thrown, it rejects and throws like so

judielr
judielr commented Feb 26, 2019

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

Improve this page

Add a description, image, and links to the validator topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the validator topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.