From aa6f3256614a2b97cc8c46a84ad2de46add8a8b0 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 12 May 2024 19:34:17 -0700 Subject: Fix: custom metaclass in defendpoint; Add: :at route particle --- src/defendpoint.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/defendpoint.lisp b/src/defendpoint.lisp index df10967..16f33a8 100644 --- a/src/defendpoint.lisp +++ b/src/defendpoint.lisp @@ -154,7 +154,7 @@ PART is either ( :match (:or= :get :post :put :patch :head :delete)) ( - :match (:seq (:or= :to :route) (:+ )) + :match (:seq (:or= :to :at :route) (:+ )) :then second) ( :match (:item) @@ -193,7 +193,7 @@ PART is either ( :match (:seq (:= :custom) ) :if (mop:subclassp (second ) 'endpoint) - :then (list :metaclass (second )) + :then (cons :metaclass (second )) :note "SYMBOL naming a subclass of ENDPOINT") ( :match (:seq (:= :var) (:item)) -- cgit v1.2.3