Hi there, is there a new way to set properties of ...
# prisma-client
m
Hi there, is there a new way to set properties of a nexus stringArg to not required ? With prisma1 this was done by
Copy code
args: {
        buttonName: stringArg({ required: false }),
      },
this doesn't work anymore
d
Simply just do stringArg(). If you want it required do nonNull(stringArg())