Closed hxzrx closed 2 years ago
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.
lack
clack-middleware-symbol-p
./lack/src/builder.lisp
NIL
clack.middleware
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.
It seemed that these lines were utilized to deal with old middlewares which would not be used anymore.
Hi!
When I hacked into
lack
, I found that the functionclack-middleware-symbol-p
in file./lack/src/builder.lisp
always returnedNIL
as the packageclack.middleware
was not defined anywhere. This package was also used in other lines in this file.The original function was pasted here:
Thanks.