Generating type names end of specified suffix for avoiding conflict of name of GraphQLObjectType #115
Labels
needs/discussion
Something needs deciding, new info changes issue scope/spec, unforeseen challenges, etc.
type/feat
Add a new capability or enhance an existing one
nexus-prisma
is awesome lib for me. I am hopingnexus-prisma
more popular, so some helpful suggestion be written in below:Using
nexus-prisma
generates code of name end of specified suffix,User_、Post_、UserWhereUniqueInput_、PostWhereUniqueInput_、UserWhereInput_ and PostWhereInput_
, for avoiding conflict of name ofGraphQLObjectType
.Providing
inputObjectType
andobjectType
Function be expose.Below code can implement
name
、description
、filterField
andexcludeField
features etc.How to use:
Generating below code:
Implementation of
isInputField
andinputObjectType
functionThe text was updated successfully, but these errors were encountered: