Seperate between relation and field #3
erlanggadewa
started this conversation in
Ideas
Replies: 3 comments 4 replies
-
Hey @erlanggadewa I'm not sure if I fully understand what you want to achieve. Could you tell me in more details? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@omar-dulaimi i already update the question to make simplify, i hope you can understand what i mean. Thank you |
Beta Was this translation helpful? Give feedback.
4 replies
-
Created feature issue here: #5 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is an option to seperate between the relationship and the field??
I want to seperate StudentProfile relationship from the model (ApproveRequest.model.ts) to become ApproveRequest.model.ts and ApproveRequestRelationship.model.ts. Because your program still make the relationship field into one files
Example prisma schema case 👇
My expected 2 files output 👇
ApproveRequest.model.ts
and
ApproveRequestRelationship.model.ts
Beta Was this translation helpful? Give feedback.
All reactions