Map BigInt with @id to ID #171
Labels
community/help-wanted
Not our focus, but accepting PRs
configuration
Related to configuration of Nexus Prisma generator
type/feat
Add a new capability or enhance an existing one
I am using the type
BigInt
as an@id
in many of my models, and would like to map it toID
type of GraphQL, likeInt
with@id
is mapped toID
.Perceived Problem
I can set
projectIdIntToGraphQL
to map either toInt
orID
, but I cannot set the same when the@id
is of typeBigInt
. It would be a helpful setting to have.Ideas / Proposed Solution(s)
Create a
projectIdBigIntToGraphQL
attribute tosettings
, that is going to do the sameprojectIdIntToGraphQL
does forInt
s, but for typesBigInt
that have@id
decorator set in theschema.prisma
file.I can create a Pull Request implementing this feature!
The text was updated successfully, but these errors were encountered: