v0.8.2 #80

Open
altavir wants to merge 63 commits from dev into master
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 0e5a31db9f - Show all commits

View File

@ -15,9 +15,9 @@ private class ObservableMetaWrapper(
val listeners: MutableSet<MetaListener>,
) : ObservableMutableMeta {
override val items: Map<NameToken, ObservableMutableMeta>
get() = root.items.keys.associateWith {
get() = root[nodeName]?.items?.keys?.associateWith {
ObservableMetaWrapper(root, nodeName + it, listeners)
}
} ?: emptyMap()
override fun get(name: Name): ObservableMutableMeta? = if (root[nodeName + name] == null) {
null

View File

@ -17,6 +17,8 @@ class ObservableMetaTest {
}
}.asObservable()
println(meta)
assertEquals("scatter", meta["data.type"].string)
}