unlight/prisma-nestjs-graphql

Cannot use this package directly in other prisma generator

floross opened this issue · 3 comments

We are building generators and we want to leverage your dtos and use them with some preconfigured options. Right now when we try to use your package we cannot use the generate function only.

Moreover no types are exported for the moment.

I made a PR to export the generate file only (without the index): #168

So with this changes we could to this:

import { generate } from 'prisma-nestjs-graphql/generate';

import { generate } from 'prisma-nestjs-graphql/generate';

Is this typescript source or javascript?

This lib does not provide esm modules

See #168