mkubala / akka-http-routes-guard

ScalaWAW hackathon project - macro that aborts compilation when it encounters missing concatenation operator between routes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

akka-http-routes-guard

I found that very often Spray.io / Akka-http newcomers make common mistake - they forgot to concatenate routes with the tilde (~) operator.

During ScalaWAW hackathon I would like to write a scala macro that aborts compilation (or at least raises a compiler warning) when it encounters missing concatenation operator between routes.

ScalaWAW hackathon is a kind of the Bring Your Own Laptop event and we have no guarantee that network connection at the venue will be reliable. Therefore it seems to be a good idea to clone this repository and fetch all the dependencies in advance.

About

ScalaWAW hackathon project - macro that aborts compilation when it encounters missing concatenation operator between routes.


Languages

Language:Scala 100.0%