Closed Serpentarius13 closed 1 week ago
The output without any relations is basically the plain DTO. I recently added the config to omit the generation of entity files; https://github.com/Brakebein/prisma-generator-nestjs-dto/issues/42#issuecomment-2259990757
Does it already solve your issue? Or am I missing something?
The output without any relations is basically the plain DTO. I recently added the config to omit the generation of entity files; #42 (comment)
Does it already solve your issue? Or am I missing something?
Yeah, thanks, I think I will just use entities then.
I want to disable generating all MTM relations (and possible all relations whatsoever) in config, rather than writing
/// DtoEntityHidden
on every model. By default Prisma doesn't include those relations in returning records, so I think this feature should be on-demand rather than turned on from the start