Open DannySS123 opened 1 month ago
i need some help with this @DannySS123
@justnyx oh, I forgot to mention that this issue is dependent on the other one: https://github.com/kir-dev/programSCH/issues/16
since we don't want to pass e.g. the users to an event as a field, but rather use the prisma connect to create the relations in the db. It looks something like this, but feel free tocheck it In the prisma docs
Does this mean I need to pass the authSchId as a parameter for the create function? @DannySS123
@justnyx Nope, this is just an example, but we usually connect with ID-s
Ezek vajon mitől lehetnek? Lehet, hogy egy migration lemaradt, vagy valami más okozhatja ezt? Az első kép mindenütt előjön, a második csak a create és update függvényeknél.
(Sajnos csak most csatlakoztam be, ezért nem tudom, pontosan mik voltak végrehajtva menet közben)
Ha jól látom, akkor a Prismában nincsen link, de van ownerId, ez okozza az egyik conflictot
@SzBeni2003
Priority.NONE
Ezeket már megoldottuk azóta közösen😅 Annyi volt a megoldás hogy a @prisma/client-ből importáltunk minden saját enumot, és akkor megoldódott a conflict
Szuper!
Some DTO-s are defined, but not used anywhere (e.g. UpdateUserDto, CreateEventDto, etc.). Either use them or remove them if they are not necessary.