From 63355c4f7b9b05a3fe5ff8001dabf23e2de1fb14 Mon Sep 17 00:00:00 2001 From: zhumeisongsong Date: Thu, 14 Nov 2024 17:46:13 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20delete=20useless=20defini?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/users-application/src/users/models/user.model.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 apps/users-application/src/users/models/user.model.ts diff --git a/apps/users-application/src/users/models/user.model.ts b/apps/users-application/src/users/models/user.model.ts deleted file mode 100644 index c91c2eb..0000000 --- a/apps/users-application/src/users/models/user.model.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Directive, Field, ID, ObjectType } from '@nestjs/graphql'; - -@ObjectType() -@Directive('@key(fields: "id")') -export class User { - @Field(() => ID) - id: number; - - @Field() - name: string; -} \ No newline at end of file