Iwamoto Yuki
12/13/2021, 1:53 AMJ
12/13/2021, 4:18 AMJ
12/13/2021, 4:18 AMHaru Hinata
12/13/2021, 4:47 AMHaru Hinata
12/13/2021, 4:47 AMHaru Hinata
12/13/2021, 4:47 AMHaru Hinata
12/13/2021, 4:47 AMΓιώργος Κραχτόπουλος
12/13/2021, 5:30 AMstring
instead of number
for Int
attributes with @id?
Martí Crespí
12/13/2021, 5:57 AMΓιώργος Κραχτόπουλος
12/13/2021, 6:07 AMid
fields, with the corresponding string GraphQL scalar ID
type, but TypeScript throws error because the Client parses @id
to number
Thomas Minato
12/13/2021, 8:15 AMRamu Narasinga
12/13/2021, 8:39 AMLevi
12/13/2021, 8:39 AMFishie
12/13/2021, 9:36 AMFishie
12/13/2021, 9:37 AMGopesh Jangid
12/13/2021, 10:48 AMGopesh Jangid
12/13/2021, 10:49 AMGopesh Jangid
12/13/2021, 10:50 AMP V
12/13/2021, 2:02 PMuser
12/13/2021, 3:56 PMTyler Clendenin
12/13/2021, 4:25 PMChris Bitoy
12/13/2021, 4:55 PMTyler Clendenin
12/13/2021, 5:09 PMTyler Clendenin
12/13/2021, 5:13 PMΓιώργος Κραχτόπουλος
12/13/2021, 5:38 PMmodel
types, that also have their relations attached?user
12/13/2021, 5:40 PMMo El
12/14/2021, 1:27 AMNULL
?mooy bot
12/14/2021, 6:06 AMasync buyPlayer(ownerId: string): Promise<void> {
const previousTeam = await this.prismaService.team.findFirst({
where: {
ownerId,
},
include: {
players: true,
},
})
await this.prismaService.team.update({
where: {
ownerId,
},
data: {
players: [...previousTeam.players],
},
})
}