Open jinbe opened 8 months ago
Do you think we can get typesafe responses as well?
Maybe something similar to validate, that returns either json or Response but be able to handle both success and error responses.
Perhaps any error responses could be thrown as an exception?
Do you think we can get typesafe responses as well?
Maybe something similar to validate, that returns either json or Response but be able to handle both success and error responses.
Perhaps any error responses could be thrown as an exception?