-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Sumac should provide some simple way to copy "matching" args from one arg instance to another. This should also handle dervied values, not just the direct string arguments. eg.:
trait DbArgs{
var user: String = _
var password: String = _
var host: String = _
var port: Int = _
var _connection: Option[Connection] = None
def connection = {
//initialize _connection if need be
}
}when that is copied, it should somehow know that it should also copy _connection.
I have no idea how to do this right now. maybe it will require extra annotations on _connection, or implementing some method which returns some kind of handle on _connection, I dunno ...
Metadata
Metadata
Assignees
Labels
No labels