Open jaronnie opened 4 months ago
api 文件如下:
syntax = "v1" type BaseTree { id int `json:"id"` } type Tree { base BaseTree `json:"base"` } @server ( prefix: /api/v1 group: test ) service demo-api { @handler Tree get /test/tree () returns ([]Tree) }
期望 BaseTree 结构体也在 test.types.go 中
fix
api 文件如下:
期望 BaseTree 结构体也在 test.types.go 中