If I add the constraint to the DB and the directive "@ unique"" to the schema.prisma file, then it works. But if you have the constraint in the schema file but not in the DB, it just silently doesn't return that field in the API.
r
Ryan
08/25/2021, 5:45 AM
A reproduction would be great as this is an odd one.