Skip to content
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

(fix, docs): filter referenced subpackages appropriately #4242

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

dsinghvi
Copy link
Member

@dsinghvi dsinghvi commented Aug 9, 2024

Previously we were confusing subpackage locators + ids when traversing through referencedSubpackages. Now, we don't confuse the 2 and have renamed some methods to make the difference between the two identifiers more transparent.

@dsinghvi dsinghvi marked this pull request as ready for review August 9, 2024 13:54
const subpackageIds = section.referencedSubpackages
.map((locator) => {
const subpackage = this.#holder.getSubpackageByIdOrLocator(locator);
return subpackage != null ? ApiDefinitionHolder.getSubpackageId(subpackage) : undefined;
Copy link
Member Author

Choose a reason for hiding this comment

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

critical change

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

Successfully merging this pull request may close these issues.

1 participant