Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

case :render-method issue in define module #44

Open
cage2 opened this issue Nov 14, 2016 · 0 comments
Open

case :render-method issue in define module #44

cage2 opened this issue Nov 14, 2016 · 0 comments

Comments

@cage2
Copy link

cage2 commented Nov 14, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant