Created
May 6, 2014 13:27
-
-
Save Mortimerp9/1f34d331d60738cd042f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyArgs extends FieldArgs with ConfigArgs { | |
override val configPrefix = "com.example.config" | |
@Required | |
var env: String = "dev" | |
var timeout: Option[Duration] = None | |
@Required | |
var db1: SQLArgs = new SQLArgs {} | |
@Required | |
var db2: SQLArgs = new SQLArgs {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment