MichalLytek / typegraphql-prisma

Prisma generator to emit TypeGraphQL types and CRUD resolvers from your Prisma schema

Home Page:https://prisma.typegraphql.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for experimental fieldReference

tylergets opened this issue · comments

Prisma has recently been testing a new fieldReference preview feature, which allows you to reference another field inside a where query -- if you wanted to view rows where dateA > dateB for example

Describe the solution you'd like
It would be great if we were able to incorporate this somehow into GraphQL

Describe alternatives you've considered
Creating customer resolvers

Additional context
(prisma/prisma#15068)