Closed vobradovich closed 2 weeks ago
Resolves #475 .
Introduces special case for handling a CommandReply<T> as a result type and extracting a value
CommandReply<T>
Awaiting review. Don't merge!
Current impl doesn't prevent returning CommandResult from queries pub fn query(&self) -> CommandResult<u128> { (123, 100_500).into() }
Current impl doesn't prevent returning CommandResult from queries
CommandResult
pub fn query(&self) -> CommandResult<u128> { (123, 100_500).into() }
Is it necessary to forbid?
Resolves #475 .
Introduces special case for handling a
CommandReply<T>
as a result type and extracting a value