dan
02/08/2019, 3:02 AMdan
02/08/2019, 3:04 AMCCBCodeMonkey
02/08/2019, 4:03 AMCCBCodeMonkey
02/08/2019, 4:03 AMuser { followers { count } }
CCBCodeMonkey
02/08/2019, 4:06 AMCCBCodeMonkey
02/08/2019, 4:07 AMtype User {
id: ID! @unique
email: String! @unique
name: String
followers: [User!]!
}
how can I figure out how many followers a user has...wmj
02/08/2019, 8:03 AMwmj
02/08/2019, 8:03 AMrawriclark
02/08/2019, 8:36 AMMatthew Huang
02/08/2019, 11:06 AMdomko
02/08/2019, 11:53 AM@relation(link: INLINE)
=> @relation(onDelete: CASCADE link: INLINE)
? dont get any changes displayed on prisma deploy with that change. Or is this also effected by this issue https://github.com/prisma/prisma/issues/3796?Andrei Bacescu
02/08/2019, 3:10 PMdan
02/08/2019, 5:34 PMdan
02/08/2019, 5:34 PMdan
02/08/2019, 5:34 PMdan
02/08/2019, 5:47 PMIman
02/08/2019, 6:18 PMIman
02/08/2019, 6:18 PMdan
02/08/2019, 6:20 PMdan
02/08/2019, 6:21 PMdan
02/08/2019, 6:21 PMZyon
02/08/2019, 7:08 PMPablo Scandalo
02/08/2019, 9:29 PMtype Audit {
createDate: String!
}
type ServiceClient {
id: ID!
userName: String!
password: String!
auditInfo: Audit --> this property disappear
}
But when I run the graphqlgen command I have the next result:
export interface ServiceClient {
id: string
userName: string
password: string
}
export interface Audit {
createDate: string
}
How you can see, the interface ServiceClient lost the auditInfo property and I don't know why.
I was reading the documentation and I don´t know why It has this behavior.
Can you help me?
Thanks you very much!Darryl
02/08/2019, 11:17 PMDarryl
02/08/2019, 11:18 PMDarryl
02/08/2019, 11:23 PM@model
no longer used in datamodel.prisma
? I played around with Prisma last summer and have some code that’s clearly very, very outdated. It’s like using a complete different tool now, looking at the documentation.chas13
02/08/2019, 11:54 PMsajmil
02/09/2019, 1:56 AMkguller
02/09/2019, 2:08 AMkguller
02/09/2019, 2:10 AM