Closed luoxiu closed 5 years ago
Use teams.0.name
instead of ["teams", "0", "name"]
in the situation?
@CoderMJLee Yes, teams.0.name
works fine in this situation.
So this is intentional? "a.b.c"
is a key path, and ["a", "b", "c"]
is a fallback path?
Sorry, 我先入为主了
In some cases,
kj_value(for modelPropertyKey: ModelPropertyKey)
will return a wrong value if the key is an array. For example:This is because of these few lines of code:
Will create a pr with fixing later.