-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Description
Describe the bug
在api中定义type时使用了多级嵌套,在生成ts文件时,导致层级丢失了层级信息
To Reproduce
-
api中的定义
type ( IdStruct { Id int64 `json:"id"` } NameStrcut { IdStruct Name string `json:"name"` } AgeStruct { NameStrcut Age int `json:"age"` })
-
生成的前端代码,丢失了第一层的
IdStruct信息export interface AgeStruct { name: string age: number}
Environments (please complete the following information):
- goctl version 1.9.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels