scalagen.withoutPassthrough.scala Maven / Gradle / Ivy
The newest version!
{{#ptPrimitive}}
field
{{/ptPrimitive}}
{{#ptIter}}
field.map { field =>
{{>withoutPassthrough}}
}
{{/ptIter}}
{{#ptMap}}
field.map { case (key, value) =>
{{#ptKey}}
val newKey = {
val field = key
{{>withoutPassthrough}}
}
{{/ptKey}}
{{#ptValue}}
val newValue = {
val field = value
{{>withoutPassthrough}}
}
{{/ptValue}}
newKey -> newValue
}
{{/ptMap}}
{{#ptStruct}}
{{className}}.withoutPassthroughFields(field)
{{/ptStruct}}