Using NestJS you can use the ExtraModels functionality to have swagger generate documentation for generic classes
Ie
export class PagedResultDto<T>{
rows:T[];
@ancient minnowProperty()
count: number;
}
This works great.
However when we bring NX into the equation, this no longer works if your DTO is contained within a library.
How could i work around this limitation while still keeping my DTO in a reusable Lib?