inheritance #2342
Replies: 12 comments
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
This comment has been hidden.
-
Related to #1291 and this previous rfc that we had for Prisma 1 : prisma/prisma1#3407 and maybe #1644 Now I would like to know if you want way to reuse certain set of fields (think extending a type) or having interfaces that would make sure certain types follow same behavior(think in terms of interfaces and implementations). In any case I don't think what you are asking are relations because I think you won't want to associate the types with each other but you want to have ability to copy fields between them. Correct me if that is not the case. It would be better if you can open a more detailed feature request with a detailed explanation of what exactly you want. An example schema design for your usecase will also help in understanding your exact use case. |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
I think you opened #2343 for this request but that is request is a duplicate. Please always search through the issues of a repository before opening a new issue so that you can avoid opening duplicate issues.
I will keep this issue for this feature request for now. |
Beta Was this translation helpful? Give feedback.
-
Problem
i need to use base modeling
Solution
a data model which will inherit from another data model
Alternatives
none i can think of
Additional context
none
Beta Was this translation helpful? Give feedback.
All reactions