restas
restas copied to clipboard
case :render-method issue in define module
Hello,
I am trying to figure out why this issue appeared: https://github.com/archimag/restas-directory-publisher/issues/7 I think changing this function
https://github.com/archimag/restas/blob/master/src/route.lisp#L27
with
(defun` route-render-method (route)
(funcall (or (slot-value route 'render-method)
(and (module-render-method (route-module route))
#'(lambda () (module-render-method (route-module route))))
(lambda () #'identity))))
resolve the rendering issue; but because i am not able to understand the internal machinery of the library i can not consider this a solution for that bug, just an hint. I hope can be useful anyway.
Bye! C.