fix pagination and create pagination service

This commit is contained in:
andres
2023-07-12 13:06:37 +02:00
parent 3db8bfb0f8
commit 68942e904f
14 changed files with 233 additions and 141 deletions

View File

@@ -1,7 +1,8 @@
import { IsEmail, Length } from 'class-validator'
import { IsEmail, Length, IsOptional } from 'class-validator'
export class RegistrationDto {
@Length(3, 30)
@IsOptional()
name: string
@Length(3, 30)
password: string