Skip to content

Instantly share code, notes, and snippets.

View VollyKor's full-sized avatar

Volodymyr Kornieiev VollyKor

  • 42Flows.tech
  • Kiev, Ukraine
View GitHub Profile
@anchan828
anchan828 / README.md
Last active April 1, 2025 14:23
This is an improvement to allow @nestjs/typeorm@8.1.x to handle CustomRepository. I won't explain it specifically, but it will help in some way. https://github.com/nestjs/typeorm/pull/1233

You need to provide some classes and decorators yourself to maintain the same style as typeorm@2.x.

1. EntityRepository -> CustomRepository

@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}