Skip to content

v1.3.0

Choose a tag to compare

@hamidgh83 hamidgh83 released this 24 Jul 14:42
· 5 commits to main since this release

New Features

Read-Only Mode Support

You can now mark Data Transfer Objects (DTOs) as read-only. Once set, any further modifications to the object (like assigning new values) are blocked, ensuring immutability where needed.

Automatic Validation on Creation and Assignment

Data is now automatically validated when a DTO is created or when attributes are assigned. This ensures your DTOs always hold valid data, right from instantiation.

Built-in Validators

Included several built-in validators to cover common types (e.g., int, string, bool, float, url, etc.).

Support for Custom Validators

Easily extend validation by writing your own custom validators, giving you full flexibility to enforce domain-specific rules.