Ethan Pursley
03/20/2020, 1:15 AMprisma-prod
container from dockerhubAlan
03/20/2020, 1:15 AMEthan Pursley
03/20/2020, 1:15 AMAlan
03/20/2020, 1:16 AMAlan
03/20/2020, 1:16 AMEthan Pursley
03/20/2020, 1:17 AMAlan
03/20/2020, 1:19 AMEthan Pursley
03/20/2020, 1:26 AMAlan
03/20/2020, 1:41 AMMGH Developpers
03/20/2020, 1:19 PMPeter
03/20/2020, 4:04 PMPeter
03/20/2020, 4:05 PMRain
03/20/2020, 4:55 PMtype User {
id: ID! @id
email: String! @unique
password: String!
profile: Profile! @relation(link: INLINE)
}
type Profile {
id: ID! @id
picture: String
user: User!
}
my nestjs graphql type
// user.model.ts
import { ObjectType, Field, ID, HideField } from '@nestjs/graphql';
import { Profile } from './profile.entity';
@ObjectType()
export class User {
@Field(type => ID)
id: string;
email: string;
@HideField()
password: string;
profile: Profile;
}
// profile.model.ts
import { ObjectType, Field, ID } from '@nestjs/graphql';
import { User } from './user.entity';
@ObjectType()
export class Profile {
@Field(type => ID)
id: string;
picture?: string;
user: User
}
I received the following error
error TS2741: Property 'profile' is missing in type 'import("/home/me/nest-graph/generated/prisma-client/index").User' but required in type 'import("/home/me/nest-graph/src/user/models/user.entity").User'.
Rain
03/20/2020, 4:56 PMThomas Erickson
03/20/2020, 9:02 PMjt
03/21/2020, 12:11 AMmarcofaggian
03/21/2020, 12:28 AMSamrith Shankar
03/21/2020, 10:43 PMCalvin
03/22/2020, 2:01 AMPiotr
03/22/2020, 4:03 AMprisma-client-go
status looks like? Is there any channel I should follow regarding that client?Sebastian
03/22/2020, 5:17 PMOmar
03/23/2020, 12:29 AMOmar
03/23/2020, 12:59 AMOmar
03/23/2020, 12:59 AMLeo Hui
03/23/2020, 8:30 AMbedeho
03/23/2020, 3:58 PMOmar
03/23/2020, 6:39 PMCarlos Vizcaya
03/23/2020, 7:58 PMprisma-chobo
03/23/2020, 10:39 PMprisma-chobo
03/23/2020, 10:41 PM