Commit Graph

17 Commits (c4ef9ceb68b118a0cfe7a10a80c8d30965233848)

Author SHA1 Message Date
fondoger c22bc1c8ea
[dart-gen] Fix lists containing atomic types (#3210) 2 years ago
fondoger 3a66fc038f
[dart-gen] Fix nullable list item issue (#3192) 2 years ago
fondoger 078825b4eb
[dart-gen] Support Null-safe and omitempty json tag (#3134) 2 years ago
Snake a561048d59
Fix bug: replace int and float with num type in dart (#3042)
Co-authored-by: zhoumingji <zhoumingji@cmsr.chinamobile.com>
2 years ago
zhoumingji 97ada59175 Fix bug in dartgen: Increase the processing logic when route.RequestType is empty 2 years ago
fondoger 32e3116ee3 Fix bug in dart api gen: path parameter is not replaced 2 years ago
fondoger 5756627904
Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887)
* Fix bug in dartgen: Import path should match the generated api filename

* Use Route.HandlerName as generated dart API function name

Reasons:
- There is bug when using url path name as function name, because it may have invalid characters such as ":"
- Switching to HandlerName aligns with other languages such as typescript generation

* [DartGen] Add ability to generate api for url path parameters such as /path/:param
2 years ago
Fyn 365c569d7c
fix(goctl): dart gen user defined struct array (#1620) 3 years ago
Fyn 6a66dde0a1
feat(goctl): api dart support flutter v2 (#1603)
0. support null-safety code gen
1. supports -legacy flag for legacy code gen
2. supports -hostname flag for server hostname
3. use dart official format
4. fix some some bugs

Resolves: #1602
3 years ago
Fyn fba6543b23
fix: goctl api dart support `form` tag (#1596) 3 years ago
Kevin Wan 4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 3 years ago
z-micro 80e3407be1
fix bug: generating dart code error (#1090) 3 years ago
kingxt f98c9246b2
Code optimized (#493) 4 years ago
kingxt 2b07f22672
optimize code (#417)
* optimize code

* optimize code

* optimize code

* optimize code
4 years ago
kingxt ee19fb736b
feature: refactor api parse to g4 (#365)
* feature: refactor api parse to g4

* new g4 parser

* add CHANGE_LOG.MD

* refactor

* fix byte bug

* refactor

* optimized

* optimized

* revert

* update readme.md

* update readme.md

* update readme.md

* update readme.md

* remove no need

* fix java gen

* add upgrade

* resolve confilits

Co-authored-by: anqiansong <anqiansong@xiaoheiban.cn>
4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kim 121323b8c3 goctl added 4 years ago