ergoplatform/ergo

Wrap primitive types in communication between API and the core

Aperta

#1005 aperta il 18 dic 2019

 (1 commento) (0 reazioni) (0 assegnatari)Scala (201 fork)github user discovery
A-apiB-100 Ergbountyhelp wanted

Metriche repository

Star
 (519 stelle)
Metriche merge PR
 (Merge medio 12g 5h) (13 PR mergiate in 30 g)

Descrizione

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.

Guida contributor