Skip to content

Create a singular pagination dto class to avoid duplication #76

@chrispinkney

Description

@chrispinkney

We have...

  @IsInt()
  @IsOptional()
  per_page = 10;

  @IsInt()
  @IsOptional()
  page_number = 0;

in a few places now (user, movie, list), it'd be a good idea to create a single dto file somewhere and call it instead of doing this 3 times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiAPI related issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions