pedestal

hlship 2024-10-05T01:24:59.770489Z

Hey folks! Working on the Pedestal docs can be fun. The Antora tools make it fast and pretty. It’ll always be more work than any one person can dedicate, and it’s an easy way to contribute. https://github.com/pedestal/pedestal-docs has the details.

hlship 2024-10-05T02:43:45.989429Z

reviewplease https://github.com/pedestal/pedestal/pull/869 This is a lot more refactoring of pedestal.route, simplifying a lot of things, patching up others. The main bit is that you can now invoke route/expand-routes with multiple route specifications and it will merge it all together. They don’t even have to be the same format (i.e., some table, some terse). There’s some backwards compatibility issues if you ever implemented the Router or ExpandableRoutes protocols (the later is what auto-magically interprets a hash map as table routes). I haven’t found an example of that out in the world, so, hey, 0.8 is still alpha, right?

🆒 3
souenzzo 2024-10-07T11:33:54.572469Z

I'm kind of happy to see the PR. The old routing protocols looked very strange and incomplete. I tried to use/extend it once and failed.

hlship 2024-10-07T18:16:21.375919Z

I searched GitHub for use of the protocols; outside of pedestal forks, I couldn't find anything. Retit doesn't use Pedestal's interceptor or protocols, it provides its own.

hlship 2024-10-07T18:16:44.267279Z

There's still a couple of more phases of cleanup.

hlship 2024-10-07T18:17:58.685099Z

I think Pedestal also would have been well served, when the code was first put together, with a glossary of terms. There's so many "specifications".