Closed Sytten closed 4 years ago
While looking at the select community tool, it occured to me that relations where only working because of an undocumented behaviour. Basically no matter what select you use, the POJO objects that are returned always contain the ID. This is most likely a good thing but it is not what is written in the spec here: https://github.com/prisma/specs/blob/master/prisma-client-js/README.md#select
select
It should be added to clear up the potential confusion and tho enforce it as part of the contract.
Seems like I was mistaken... please ignore.
While looking at the select community tool, it occured to me that relations where only working because of an undocumented behaviour. Basically no matter what
select
you use, the POJO objects that are returned always contain the ID. This is most likely a good thing but it is not what is written in the spec here: https://github.com/prisma/specs/blob/master/prisma-client-js/README.md#selectIt should be added to clear up the potential confusion and tho enforce it as part of the contract.