-
## Problem
Before saving data to the database, it's common to perform validation.
When using Prisma to save user data (in an API), Prisma will perform runtime validation before saving to the data…
-
**Is your feature request related to a problem? Please describe.**
Currently, running NestJS with SWC Loader is not possible (for build and start phase) because of the way that DTOs are handled.
…
-
When I save post entity with survey it throws the error I mention.
I checked for similar issues to fix it. But they didn't work.
When I remove @JoinColumn({name: 'surveyId'}) at Post survey propert…
-
## Issue Description
I'm trying to serialize a `class-transformer` decorated class into a `json` field in PostgreSQL. To do that, I use this block of code:
```ts
@Column({
type: 'json',
…
-
Need to list all from https://github.com/swc-project/swc/network/dependents?dependent_type=PACKAGE&package_id=UGFja2FnZS00Njc1MTk4MDQ%3D
kdy1 updated
7 months ago
-
### Issue description
TypeError: Cannot read properties of undefined (reading 'joinColumns') when fetching OneToMany relation
### Expected Behavior
```
export const bigint: ValueTransformer = {
…
-
## Issue Description
I'm trying to create ViewEntities that depend on each other, for example "View B" select from "View A". No matter what I do I can't get the ViewEntities to get created in the o…
-
**Describe the bug**
I use adminjs with TypeOrm and when I try to save the wrong data, TypeOrm throws an error but this error is not displayed in adminjs.
You can see how this validation error loo…
-
This code:
```typescript
import { IsNotEmpty, IsOptional, IsString, validate } from 'class-validator';
import { plainToClass } from 'class-transformer';
const PATCH = 'patch';
const POST = 'pos…
-
## Description:
Design and implement a structured database schema for managing user data in a Nest.js application using TypeORM. Include functionality to seed initial user data and ensure the databa…