Skip to content

fix: accessing nested object properties by reference #88

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 6, 2022
Merged

Conversation

Himenon
Copy link
Owner

@Himenon Himenon commented Oct 6, 2022

Summary

close #86

Test Plan

@Himenon Himenon changed the title fix: nested property access fix: accessing nested object properties by reference Oct 6, 2022
@Himenon Himenon merged commit 5279c58 into main Oct 6, 2022
@Himenon Himenon deleted the fix/some-bugs branch October 6, 2022 15:38
return findSchemaByPathArray(pathArray.slice(0, pathArray.length - 1), [pathArray[pathArray.length - 1], ...remainPathArray]);
}
if (Guard.isReference(schema)) {
const ref = Reference.generate(entryPoint, entryPoint, schema);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it could be broken during REMOTE REFERENCE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: failed to resolve a reference to inner property of an another reference
1 participant