Skip to content

Commit b3895f3

Browse files
committed
Expose UserFilters.id
1 parent 717ab13 commit b3895f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/user/dto/list-users.dto.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { InputType, ObjectType } from '@nestjs/graphql';
22
import {
33
FilterField,
44
type ID,
5+
IdField,
56
ListField,
67
OptionalField,
78
PaginatedList,
@@ -12,6 +13,7 @@ import { User } from './user.dto';
1213

1314
@InputType()
1415
export abstract class UserFilters {
16+
@IdField({ optional: true })
1517
readonly id?: ID<'User'>;
1618

1719
@OptionalField()

0 commit comments

Comments
 (0)