prisma-erd-generator icon indicating copy to clipboard operation
prisma-erd-generator copied to clipboard

introduce ignoreViews parameter

Open hakandilek opened this issue 1 year ago • 3 comments

I just wanted to introduce an ignoreViews parameter just like the existing ignoreEnums using the preview views feature.

This is not complete and I'm kind of stuck and may need some help to bump this forward. The problem is that there's no significant identifier for views in the DMMF model output generated by the model engine, there's no way to distinguish view from the regular table models.

hakandilek avatar Jun 20 '23 21:06 hakandilek

Is the test failing for you @hakandilek?

keonik avatar Jul 10 '23 16:07 keonik

Yes, because I couldn't implement it through. As I mentioned above I couldn't identify views within the schema. I need some ideas and help.

hakandilek avatar Jul 10 '23 16:07 hakandilek

Ahh I gotcha. If I find anything related to this I'll let you know. Seems like DMMF should handle this in some way.

keonik avatar Jul 10 '23 18:07 keonik