Open johnhungerford opened 2 years ago
the goal is to be able to do this:
case class UserData(id: UUID, name: String, data: Map[String, String]) import org.hungerford.generic.schema.Default.dsl.* val sch = Schema.derivedBuilder[UserData] .additionalFieldsFromField("data") .build
It should be able to remove the field from fieldDescriptions, and use the field's schema as the additionalFieldsSchema.
fieldDescriptions
schema
additionalFieldsSchema
the goal is to be able to do this:
It should be able to remove the field from
fieldDescriptions
, and use the field'sschema
as theadditionalFieldsSchema
.