Skip to content

Commit 35c2732

Browse files
Update mapped-types.md
1 parent a3b4055 commit 35c2732

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

content/graphql/mapped-types.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,15 @@ class CreateUserInput {
108108

109109
@Field()
110110
password: string;
111-
112-
@Field()
113-
firstName: string;
114111
}
115112

116113
@ObjectType()
117114
export class AdditionalUserInfo {
118115
@Field()
119-
nickname: string;
120-
116+
firstName: string;
117+
121118
@Field()
122-
avatar: string;
119+
lastName: string;
123120
}
124121
```
125122

0 commit comments

Comments
 (0)