fixed a bug in the neighbor field discovery.
Previously, the code was "find the nearby element of the expected @name, then make sure it has gotten the right parent." So if the structure is like: {/* outer object */ name: "parent-name", /* A */ child1: {/* inner object */ name: "child-name" /* B */ }, child2: {/* inner object */ name: "child-name" /* C */ } } ... and if we are looking for "../name", it finds B, and it gets rejected, so we won't be able to find A, which is what we are supposed to find. With this change, we keep trying until we find the right one, so the above case will correctly return A.
Loading
Please register or sign in to comment