Fork me on GitHub
#pedestal
<
2018-09-28
>
stathissideris12:09:10

so the terse syntax is not very readable (imho) and has the whole weirdness with symbols etc. On the other hand the table syntax does not allow for hierarchical paths and for applying interceptors to groups of endpoints. I came up with something that may be a good compromise between the two, what do you think? (untested code) https://gist.github.com/stathissideris/179181223988eab1eaeb469461e0da79

stathissideris12:09:08

also, no macros, yay for data!

mavbozo13:09:15

@stathissideris the mechanism is quite similar to what I do: traversing all the routes and adding common interceptors to them. Data For the Win!!!