You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a great feature! I have been missing this in other GraphQL frameworks.
Now I am curious if this could work together with Prisma models without re-declaring the Database model again. If the Prisma models can be used as a backing type, that would follow the DRY rules and make developing way easier.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I just found out about the rootTypes (backing type) feature: https://nexusjs.org/guides/schema#backing-types-in-nexus
It is a great feature! I have been missing this in other GraphQL frameworks.
Now I am curious if this could work together with Prisma models without re-declaring the Database model again. If the Prisma models can be used as a backing type, that would follow the DRY rules and make developing way easier.
Beta Was this translation helpful? Give feedback.
All reactions