question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

@IsUrl options not works

See original GitHub issue

It 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:closed
  • Created 7 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
pleerockcommented, Nov 15, 2016

fixed your issue in 0.6.6

1reaction
pleerockcommented, Nov 15, 2016

try fix in 0.6.5

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found