clack-middleware-symbol-p always returns nil
hxzrx opened this issue · comments
He Xiang-zhi commented
Hi!
When I hacked into lack
, I found that the function clack-middleware-symbol-p
in file ./lack/src/builder.lisp
always returned NIL
as the package clack.middleware
was not defined anywhere. This package was also used in other lines in this file.
The original function was pasted here:
(defun clack-middleware-symbol-p (symbol)
(and (symbolp symbol)
(find-package :clack.middleware)
(find-class symbol nil)
(subtypep (find-class symbol)
(intern (string :<middleware>)
:clack.middleware))))
Thanks.
He Xiang-zhi commented
It seemed that these lines were utilized to deal with old middlewares which would not be used anymore.