Hi everyone,
how can i create two different routes /users/:user-id :get and /users :get ?
both refer to the same route
Hi @abdullahibra, use the linear search router. http://pedestal.io/reference/linear-search-router
@ddeaguiar how performance of it for production use?
See http://pedestal.io/reference/using-the-builtin-routers for itโs performance characteristics. Depends on the number of routes you have
Hey
{:type clojure.lang.ExceptionInfo :message You're trying to use something as an interceptor that isn't supported by the protocol; Perhaps you need to extend it? :data {:t nil, :type nil} :at [io.pedestal.interceptor$interceptor invokeStatic interceptor.clj 82]}]
i see this is very helpful, can anybody help me to get what's wrong with my routes ?
i get the user id from `auth interceptor
if i remove :get and :put routes it's working
seems the problem in `auth
figured it out