Closed Harrolee closed 7 months ago
can you provide a reduced example with additional arguments --outDsl nomnoml.dsl
. This parameter
outputs the generated nomnoml "code" that is used for generating the svg.
The problematic command should be in this nomnoml.dsl file on line 172 (as stated in the error)
Thanks demike!
Here is line 172 of the nomnoml.dsl file:
[PaginationQueryDto|+page[size]: number;+page[current]: number|]
Here's the code for PaginationQueryDto: pagination-query.dto.ts
export class PaginationQueryDto {
'page[size]': number;
'page[current]': number;
}
I realized that dto files don't add much to the UML diagram. TsUML2 generated an svg successfully when I filtered out .dto files (like this: --glob "./src/**/!(*.d|*.spec|*.dto).ts"
).
So I'm all good! Thank you :)
@Harrolee this problem should be fixed in version 0.14 now!
Thank you for filing and investigating this issue!
Can you help me understand this output?
npx tsuml2 --glob "./src/**/!(*.d|*.spec).ts"
PATH-REDACTED