diff --git a/data4k/README.md b/data4k/README.md index 9f1ae76..f8cbaa5 100644 --- a/data4k/README.md +++ b/data4k/README.md @@ -38,8 +38,8 @@ class MapBacked(propertySet: Map) : MapDataContainer(propertySet) val stringField: String by required() val optionalList: List? by optionalList() val optionalStringField: String? by optional() - val listSubClassField: List by list(::SubMap) - val objectField: SubMap by obj(::SubMap) + val listSubClassField: List by requiredList(::SubMap) + val objectField: SubMap by requiredObj(::SubMap) val valueField: MyInt by required(MyInt) // values4k Int tiny/micro type }