Skip to content

case :render-method issue in define module #44

@cage2

Description

@cage2

Hello,

I am trying to figure out why this issue appeared:
archimag/restas-directory-publisher#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions