Is it possible to create a field in `datamodel.pri...
# orm-help
p
Is it possible to create a field in
datamodel.prisma
, but without mapping it to the database? The general idea is to have, let's say,
type User
in my generated
.graphql
that has all fields from the datamodel, but also some fields that I'm gonna provide custom resolvers to.
h
Redefine that model in app schema 🙂
You will separate business logic from app logic.
👌 1