You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was completed successfully. Currently, the asset.Pair type is a type alias for string with functions that make it feel like we're working with a struct.
I propose to refactor
AssetPair
.Remove it from proto files.
Make it a custom proto type we can use in place of
string
.Make the
AssetPair
API safe to use, by unexporting fields.Current problems:
AssetPair
.Example implementation:
The text was updated successfully, but these errors were encountered: