migrate-mongoose
migrate-mongoose copied to clipboard
Added minimal support for typescript
@balmasi Can this be merged?
I would also like to see this typescript support added
i have a project in typescript using migrate-mongoose. Will really love to see this feature be added :-)
is this in a "will not add" category or can it be merged? would help to not have to maintain a fork
Hey @wolfejw86 @kalutheo @ahrnee you can use this fork that is actively maintained by me and @fernandolguevara Feel free to open any issue you want to.
https://github.com/whyline/migrate-mongoose
Is also published on NPM too, under the package name migrate-mongoose-typescript
https://www.npmjs.com/package/migrate-mongoose-typescript
@balsami @akprats33 please resolve conflicts
Hello, I created actual and much easer changes pull request (https://github.com/balmasi/migrate-mongoose/pull/58) for ability to use ts
or any other extensions for migrations files.
Are there any updates on this?
@santiq hey bro how you doing?
I had a look to your library and I thought it was creating .ts migration files as it says it supports typescript. Our project is an API completly done with TS and we are looking for a TS library to handle our mongo database migrations with TS, of course.
Is anyone still having this same problem, did you resolve it? did you use another lib? did you make your own approach/implementation?
Thanks
Hi @mmejiadeveloper I'm doing well thanks.
My recommendation got old, nowadays I'm using just migrate-mongo https://github.com/seppevs/migrate-mongo while it doesn't support typescript for writing migrations, it works pretty well.
@mmejiadeveloper as I wrote in second comment before your, I made changes for opportunity using ts-files for migrations in https://github.com/balmasi/migrate-mongoose/pull/58 and although @balmasi doesn't give a reaction you can use branch from fork directly and I do the same.