-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
First of all thanks for your work regarding this useful project 🙂
I'm wondering if there is a way to define a data type that uses a different data type as one if its parameters.
e.g.:
#@define
TypeA {
fizz: String
buzz: String
}
#@define
TypeB = {
foo: TypeA
bar: TypeA
}
cfg {
typeB = TypeB
additionalParam = String
}
Currently TypeB
gets interpreted as :
final case class TypeB(
bar : java.lang.String,
foo : java.lang.String
)
This would be super helpful to avoid code duplication and make configuration data handling much easier.
Metadata
Metadata
Assignees
Labels
No labels