Fork me on GitHub
#specter
<
2017-08-27
>
frankitox16:08:38

Hi! I've been thinking of defining a new path with parameters. I saw that paramsfn is not available anymore. Now, I think of two possible ways to define the path: (defn [& params] (spec/path ...)) or with declarepath and providepath (BTW, for this last pair of functions there's not an example of using parameters on the wiki). Which one should I use? :thinking_face:

nathanmarz17:08:30

@franquito just use defn and define the returned path with path

frankitox18:08:27

Sweet! Thank you very much Nathan!