d
This commit is contained in:
1 parent
c1267e245c
commit
cbf87ce93f
4 files changed
+39
-3
No files matched your search
@@ -18,7 +18,7 @@ def pipeSource(name, entity, structure):
|
||||
elif src.startswith("K."):
|
||||
busKey = src
|
||||
busValueType = structure.model.fields[name][0]
|
||||
src = "Bus.events.compactMap { Bus.convertKeyValue(" + busKey + ", $0) }.map { (k: String, v: " + busValueType + ") in v }.eraseToAnyPublisher()"
|
||||
src = "Bus.events.compactMap { Bus.convertKeyValue(" + busKey + ", $0) }.map { (k: String, v: " + busValueType + ") in v }"
|
||||
# Значение по умолчанию.
|
||||
elif src == default:
|
||||
return default + "." + name
|
||||
|
||||
Reference in new issue
Block a user