paljs / prisma-tools

Prisma tools to help you generate CRUD system for GraphQL servers

Home Page:https://paljs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[nexus-generator][bug] Args not being generated for Models that are lowercase at first letter

Cauen opened this issue · comments

When we generate InputTypes with the Nexus Plugin. The generated arg types is not capitalized.
Example:
image

When we generate nexus backend, the generator enforce a capitalize on arg search.

Causing following error in template replace
image

I've fixed the error and will send a PR