You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code recognizes the ref in the object and tries to resolve the reference by inspecting the root schema node:
for (i = 0; i < loc.length; i = i + 1) {
if (loc[i] === '') {
//noinspection JSLint
continue;
}
st = st[loc[i]];
if (st === undefined) {
throw new Error("Cannot find ref '" + ref + "' in schema");
}
}
After this is done, i have a strange result property .entityRefOne[propertyOne] and cannot access the originale value in a selector like ['$ref=*']. Is this the desired behaviour?
Any help is appreciated, btw. cool project!
Olli
The text was updated successfully, but these errors were encountered:
Hi,
i have some problems to understand the functionality behind resolveRef in references.js. My simple schema looks like
The code recognizes the ref in the object and tries to resolve the reference by inspecting the root schema node:
After this is done, i have a strange result property .entityRefOne[propertyOne] and cannot access the originale value in a selector like ['$ref=*']. Is this the desired behaviour?
Any help is appreciated, btw. cool project!
Olli
The text was updated successfully, but these errors were encountered: