Closed tnull closed 8 months ago
Yes I agree. I followed the naming convention in the spec and as mentioned, all of the fields of both GetOrderResponse
and CreateOrderResponse
are the same. LSP updates the order_status and channel parameters in the latter object.
Maybe the latter object should be pasesd as mut and *ref, not sure.
The LSP's response to a
GetOrderRequest
is the same object as toCreateOrder
. I'm a bit dubious why we require it in a separateGetOrderResponse
object.