I'm updating our application code to work with the latest restas. With the new function signature of define-route I'm moving route traits to the body. My question is do I also need to do this with :parse-vars. I'm getting the following compilation error.
; caught ERROR:
; (during macroexpansion of (RESTAS:DEFINE-ROUTE SHOW-ACCOUNT-INVOICE
; ...))
; Unknown type of declaration: PARSE-VARS
; in: RESTAS:DEFINE-ROUTE DELETE-INVOICE
; (RESTAS:DEFINE-ROUTE ADMIN::DELETE-INVOICE
; ("/accounts/:account/invoices/:invoice" :METHOD :DELETE)
; (:PARSE-VARS
; (LIST :ACCOUNT #'ADMIN::FIND-ACCOUNT :INVOICE #'ADMIN::FIND-INVOICE))
; blah blah blah
I've noticed that I don't get an error if I set :decorators or :requirements to nil before setting :parse-vars.
Thanks,
-mike