Skip to content

URL Validation Helper, now using DTOs #11

@frattezi

Description

@frattezi
  • Create a new DTO file for videos.controller
  • Create a utility to validate YouTube URL formats (standard, shortened, embed). Create a static method at utils/url.ts.
  • This util can be done as a reusable pipe or using a decorator for DTO validation
  • I recommend testing both, just so you learn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions