Closed cmichi closed 1 year ago
I return a Vec<Player> from a contract. Player looks like this:
Vec<Player>
Player
pub struct Player { pub id: AccountId, pub name: String, pub gas_used: u64, pub score: u64, }
The UI displays this though:
It would be great to have the actual types reflected there and not their String representation. So e.g. for gas_used and score a Number. It's harder to debug stuff because this displayed representation is not what is actually returned,
String
gas_used
score
Number
Resolved in #441.
I return a
Vec<Player>
from a contract.Player
looks like this:The UI displays this though:
It would be great to have the actual types reflected there and not their
String
representation. So e.g. forgas_used
andscore
aNumber
. It's harder to debug stuff because this displayed representation is not what is actually returned,