Cannot use this package directly in other prisma generator
floross opened this issue · 3 comments
floross commented
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';
unlight commented
import { generate } from 'prisma-nestjs-graphql/generate';
Is this typescript source or javascript?
unlight commented
This lib does not provide esm modules