Closed n00p3 closed 3 years ago
Ok, solved it by adding
(defmethod snooze:read-for-resource ((resource (eql #'test)) string)
string)
If you want to do that, you should also probably write a snooze:write-for-resource
so that you can use the defgenpath
helper and generate URLs for you routes.
Consider following snippet:
When I request
localhost:9004/test/123
, thenpath
is an integer, but if I requestlocalhost:9004/test/abc
, then path is a symbol. Is it possible to get string/pipe delimited symbol instead of just regular symbol? I need to have preserved information about character case.