-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing generated relation DTO's #15
Comments
@benkroeger any idea on if this issue is something unique to me, or an actual bug with the repo? |
this appears to be an issue with the |
Why do you think Would like to open a PR fixing it because ive run into the same problem, but as i am new to the codebase I dont even know where the problem is located. |
because with en empty |
Hi @benkroeger, thanks for replying back to my issue about relations in #14 .
So I just tried your suggestion of adding in the annotated relations, but I am now running into more issues. The
create-${resource}.dto.ts
is being appropriately updated with the new relations, however those relation entities are not being generated themselves. Here is an example:schema.prisma
create-asset.dto.ts
In the above example, the
CreateVenueDtoEntity
andCreateAssetVenueRelationInputDtoEntity
called in the@ApiExtraModels
decorator do not exist/have not been generated, and neither has theCreateAssetVenueRelationInputDtoEntity
found in the DTO definition.Because of this, the TS compiler is failing. Any ideas what is going wrong here?
The text was updated successfully, but these errors were encountered: