Skipping Validation with Firefly Semantics @IsDefined Annotations

Image by k-images from Pixabay

Scenario

class Todo {
@IsString()
@IsDefined()
description?:string
}

Dependencies

Approach

class Todo {
@IsString()
@IsDefined({ skipErrorGeneration: true })
description?:string
}

Demo

Founder of Firefly Semantics Corporation