Use Scala Macros to add compilation safety on Playframework's i18n
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
conf
macros/src/main/scala/givers/i18n
project
.gitignore
LICENSE
README.md
build.sbt

README.md

Use Scala Macros to add compilation safety to Playframework's i18n

sbt run to run locally.

When you run, you will see that there are 2 compilation errors in index.scala.html; one is for invalid key and another is for invalid number of arguments.

I hope you enjoy this trick to avoid future headache!