@IsUrl options not works
See original GitHub issueIt seems what @IsURL options not works at all.
/**
* @type {string}
*/
@IsString()
@ValidateIf((options: IOptions) => Boolean(options.sourceMapBaseUrl))
@IsUrl({
require_protocol: true,
require_valid_protocol: true
})
public readonly sourceMapBaseUrl: string;
Input string google.ru -> validator does not trows any errors.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Mongoose-Validators not validating isURL with express
This is the schema. The validator: [validators.isURL()] is not producing a message. var HostSchema = new Schema({ ...
Read more >@nestjs/class-validator - npm
Class-validator works on both browser and node.js platforms. ... You can specify validation message in the decorator options and that ...
Read more >What is a URL (Uniform Resource Locator)? Definition from ...
What is a URL? A URL (Uniform Resource Locator) is a unique identifier used to locate a resource on the Internet. It is...
Read more >URL.createObjectURL() - Web APIs | MDN
The URL.createObjectURL() static method creates a string containing a URL representing the object given in the parameter.
Read more >What Is a URL? (The Java™ Tutorials > Custom Networking ...
... of the Java platform, working with URLs, sockets, datagrams, and cookies. ... It's often easiest, although not entirely accurate, to think of...
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

fixed your issue in
0.6.6try fix in
0.6.5