-
카테고리
-
세부 분야
백엔드
-
해결 여부
미해결
ConnectionOptions 게시물을 위한 엔티티 생성
22.03.20 21:22 작성 조회수 198
0
typeorm
0.3.xx 버전
https://github.com/typeorm/typeorm/blob/master/CHANGELOG.md
@nestjs/typeorm
https://github.com/nestjs/typeorm/issues/1213
아직 typeorm 0.3 버전을 지원을 안하네요
0.3 버전에서 connectionOptions 가 사라져서 에러가 납니다 ㅠㅠ;
-
Connection
,ConnectionOptions
are deprecated, new names to use are:DataSource
andDataSourceOptions
. To create the same connection you had before use a new syntax:new DataSource({ /*...*/ })
.
yarn add typeorm@0.2 로해서 다운받으세요 ㅠㅠ
답변을 작성해보세요.
0
답변 1