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(gatsby-transformer-documentationjs): handle free floating jsdocs #13058

Merged
merged 2 commits into from
Apr 4, 2019

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Apr 3, 2019

This is not great fix, but it is fix for issue described in #13052 . This is happening because documention package creates 2 jsdocs for same object. I'm not sure if "free floating" jsdoc is valid or not (in scenarios other than defining type definition / callback), but because this is problematic quick fix is to not create multiple nodes with same id

Fixes #13052

@stefanprobst
Copy link
Contributor

stefanprobst commented Apr 4, 2019

Confirmed that www builds with Loki with this.

@pieh pieh merged commit ca3a712 into gatsbyjs:master Apr 4, 2019
@pieh pieh deleted the documentation-free-floating-comments branch April 4, 2019 14:11
@pieh pieh restored the documentation-free-floating-comments branch May 17, 2020 20:43
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.

gatsby-transformer-documentationjs creates non-unique ids
2 participants