Scala Enumeration support for Play Framework 2
Scala
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
project
src
.gitignore Enum support for Play Framework 2 May 22, 2012
.travis.yml
README.md
RELEASE.md
build.sbt

README.md

Scala Enumerations for Play Framework 2

This plugin makes it possible to use Scala's Enumerations across Play Framework 2

Note! I don't think Scala's enumerations are any good. There are other constructs such as case classes that are better suited. But I'm keeping this package around for those i choose to go with it anyway :)

  • Forms
  • JSON

Build Status

Installation

Adding the plugin to your project/Build.scala

val appDependencies = Seq(
  "se.radley" %% "play-plugins-enumeration" % "<add latest version here>"
)