Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Mar 24, 2024
1 parent eb2664e commit e633c92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data4k/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class MapBacked(propertySet: Map<String, Any?>) : MapDataContainer(propertySet)
val stringField: String by required<String>()
val optionalList: List<String>? by optionalList<String>()
val optionalStringField: String? by optional<String>()
val listSubClassField: List<SubMap> by list(::SubMap)
val objectField: SubMap by obj(::SubMap)
val listSubClassField: List<SubMap> by requiredList(::SubMap)
val objectField: SubMap by requiredObj(::SubMap)
val valueField: MyInt by required(MyInt) // values4k Int tiny/micro type
}

Expand Down

0 comments on commit e633c92

Please sign in to comment.