Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new option includeRelationFields #64

Merged

Conversation

fmy
Copy link
Contributor

@fmy fmy commented Feb 6, 2023

Add option for includeRelationFields like other generator.
I followed this code.
https://github.com/notiz-dev/prisma-dbml-generator/blob/6b4b323400b3c5154ba0c85de6e0f68b271a2def/src/generator/table.ts#L76-L78

includeRelationFields = true(default)includeRelationFields = false

スクリーンショット 2023-02-06 19 37 49

スクリーンショット 2023-02-06 19 37 24

@fmy
Copy link
Contributor Author

fmy commented Feb 13, 2023

@pantharshit00 Can you check this PR please.

@pantharshit00
Copy link
Owner

Hey @fmy, I was pretty busy last week. I will check this out today. Thank you for your patience!

@pantharshit00
Copy link
Owner

Thanks for the PR. Everything looks good on a first look. CI is toast because I haven't updated deps here for a while and this generator honestly needs a rewrite since I haven't done any significant work here for a long time.

I will merge and cut a release in a the meanwhile.

@pantharshit00 pantharshit00 merged commit e8481a3 into pantharshit00:master Feb 15, 2023
@pantharshit00
Copy link
Owner

Released https://github.com/pantharshit00/prisma-docs-generator/releases/tag/v0.6.0

@fmy fmy deleted the fmy/includeRelationFields-option branch February 21, 2023 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants