Cauê Nolasco

Results 35 comments of Cauê Nolasco

> Prisma recommends to type in camel case can you use `pal schema camel-case` to update your schema with camel case A way to automatically convert to PascalCase is very...

Hi @jimjamdev The Nextjs with Pothos is probably out of scope of this library But i've already integrated in past and its how i've done. 1. In `/pages/api` ive created...

To be able to use "unnacent" with a complex/typesafe "where", I'm using 2 queries: 1. The first using "queryRawUnsafe" that returning IDs 2. The second using these IDs to compose...

If you're using apollo-server-micro, please allow headers ```ts res.setHeader( 'Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept, Authorization' ); // or res.setHeader( 'Access-Control-Allow-Headers', '*' ); ```

I did the setup locally, did numerous tests Everything working as expected

Hi @pranavrajs Is there anything I can do to help this MR get merged?

Hi @H01001000 I don't know if I understand your issue correctly Has Commonjs been generated for you?

You are needing to replace imports with `-.js` ? For example: `import { defineMutation, defineMutationFunction, defineMutationPrismaObject } from '../../utils';` to `import { defineMutation, defineMutationFunction, defineMutationPrismaObject } from '../../utils.js';` ? Although...

@H01001000 If I understand correctly the way your project is configured, you need the .ts at the end of each import, right? Does the replacer solve your case?

Our lib today generates typescript code, right? I can't quite understand how these extensions cause any problems in your project. Could you send me some minimal example of the problem...