Implement products endpoint. price storage (with Float or Decimal as type) is not reliable yet

This commit is contained in:
2025-02-20 23:59:22 +01:00
parent e2da37959f
commit eb59a980a6
4 changed files with 260 additions and 23 deletions

View File

@ -38,3 +38,5 @@ export function handlePrismaError(errorObj: any, res: Response, source: string)
}
export default prisma;
//FIXME: https://www.prisma.io/docs/orm/prisma-client/special-fields-and-types/null-and-undefined