omar-dulaimi / prisma-class-validator-generator

Prisma 2+ generator to emit typescript models of your database with class validator
MIT License
71 stars 11 forks source link

fix-ts-error #11

Open tomdygo opened 1 year ago

tomdygo commented 1 year ago

Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

Description

The existing helper function when output delivers typescript errors.

This PR resolves them.

dmitrydrynov commented 1 year ago

It's important fix. I hope this pull-request is accepted soon.

jeffreyvdhondel commented 11 months ago

Can we get this PR merged because we cant upgrade to Prima 5 because of this pr. We tried to overwrite it into the package.json but it didn't help.

omar-dulaimi commented 5 months ago

Hello

Apologies for the delay. I stepped away from open source these past months, but hopefully returning now. I'll try to dedicate some time to upgrade this generator to Prisma v5, in addition to the other generators I have built so far.

Please consider sponsoring me if you can, I want to keep maintaining this project, but lack of support does not help to be honest.

Thank you for understanding

omar-dulaimi commented 5 months ago

Hello again,

How can I reproduce your issue? It would be great if you could share a sample schema and steps