Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Support NestJS 9 & Typorm 0.3.x #43

Closed
mtdewulf opened this issue Jul 17, 2022 · 9 comments
Closed

Support NestJS 9 & Typorm 0.3.x #43

mtdewulf opened this issue Jul 17, 2022 · 9 comments
Labels
question Further information is requested

Comments

@mtdewulf
Copy link

TypeORM 0.3.x has some improvements, and unfortunately some breaking changes. The latest version of nestjs/typeorm now supports (requires) TypeORM 0.3.x. Bottom line: if you want to use NestJS 9, you need to use TypeORM 0.3.x.

I've made a fork that addresses the above issue. However, there is one main problem with it at this point: typeorm-seeding does not yet support 0.3.x, and so I've had to remove the seed loading command from this branch.

Bottom line, this isn't a big change, but it isn't backward compatible -- and not all dependencies to this repo have been upgraded, yet. I'm wondering, what are the maintainers' plans for handling this upgrade?

@klerick
Copy link
Contributor

klerick commented Jul 19, 2022

Hi,
We have plan to upgrade and try to do it in the nearest future. We have project with NestJs 8, Typeorm 0.2.x and Angular 13 (We using sdk for client too). Our deadline is in August and then we’ll start upgrading to the new version. During upgrade we will try to fix and refactor problems that we found while using the lib

@klerick klerick added the question Further information is requested label Jul 19, 2022
@backnight
Copy link

Hello guys,

Any update on this?

Thanks a lot!

@klerick
Copy link
Contributor

klerick commented Aug 24, 2022

I am working on new version. But I think it will be version with breaking changes.

@backnight
Copy link

I'm fine with that.

On my side I'm trying to launch a new project based on NestJS 9 and using this library to make a quick JSON API compatible endpoint but I'm currently stuck.

@mtdewulf I tried to use the fork you did but without success. Did it worked for you?

@mtdewulf
Copy link
Author

@backnight, I ended up abandoning the fork. For my project, I went a different direction.

@alifey
Copy link

alifey commented Aug 26, 2022

@mtdewulf I'm in the same situation as @backnight, can you give some more details?

@mtdewulf
Copy link
Author

@alifey, I was working on a NestJS / TypeORM backend for a React Admin Data Provider. Using a JSON API Data Provider was one option to solve that, but I ended up implementing the backend for their Simple REST Data Provider.

@alifey
Copy link

alifey commented Aug 29, 2022

@mtdewulf, thanks for the explanation.

@klerick
Copy link
Contributor

klerick commented Oct 7, 2022

@alifey @mtdewulf I have publish new version with support typeorm 3.x.x and NestJS 9.x.x
new version is https://www.npmjs.com/package/json-api-nestjs/v/3.0.0-beta.1
I do not know what will happen whit it repo. so I have forked https://github.com/klerick/nestjs-json-api

@klerick klerick closed this as completed Oct 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants