这是indexloc提供的服务,不要输入任何密码
Skip to content

Multiple classes exported from different DTO files overwrite each other during generation #42

@Stono

Description

@Stono

If i have a folder structure like this:

lib/
  modules/
    some-module/
      dto1.ts
    some-module2/
      dto2.ts

And both dto1.ts and dto2.ts export the same Dto (by name), it becomes a last-in-wins scenario during client generation as all the models get output to one folder.

I think to solve this, models need to either be inlined into the client generation (when exportModels is false) or the models themselves need to be in subfolders separating them out

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs info ⏳Further information is required

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions