ergoplatform/ergo
Wrap primitive types in communication between API and the core
オープン
#1,005 opened on 2019/12/18
A-apiB-100 Ergbountyhelp wanted
Repository metrics
- Stars
- (519 個のスター)
- PR merge metrics
- (平均マージ 12d 5h) (30d で 13 merged PRs)
説明
Currently in many places core is responding with primitive Scala types to requests from API method implementations.
One concrete example is InitWallet / RestoreWallet.
It would be more descriptive to use logic-related types by using (case class) wrappers or type aliases.