-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
$refs within items don't get added to list of schemas when isRemovingUnreferencedDefinitions
#3303
Comments
Tried to make the PR through GH's online edit tool, but it got mangled. Trying again now through git. |
OK, I changed the branch to adhere to the contribution guidelines and cleaned up the code. Hopefully it'll pass now! |
Please let me know if I am missing anything in the way of style or logic! |
frantuma
added a commit
that referenced
this issue
Oct 2, 2019
refs #3303 - Bugfix for filtering nested $refs
@frantuma thanks for taking care of this so quickly! And thanks for helping with a great product 😄 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When the schema has an arraySchema that has items that are in turn a $ref, that ref doesn't get followed to add all of its children refs. In fact, I think this happens anytime there are refs of refs. This logic only goes one ref level deep. I was able to work around this in a PR I will post and link to this issue.
The text was updated successfully, but these errors were encountered: