Hi,
currently handle-response only tests if the response returned is a list. () satifies that constraint and an error is signaled down the line in handle-normal-response when trying to destructuring-bind the malformed response. It would be a good idea to fail earlier with a clear error. The type definitions could be placed in clack as they could be useful for other handlers and users.
Hi, currently handle-response only tests if the response returned is a list. () satifies that constraint and an error is signaled down the line in handle-normal-response when trying to destructuring-bind the malformed response. It would be a good idea to fail earlier with a clear error. The type definitions could be placed in clack as they could be useful for other handlers and users.