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): Multiple root query error #36525

Merged
merged 11 commits into from
Sep 19, 2022
Merged

Conversation

marvinjude
Copy link
Contributor

@marvinjude marvinjude commented Sep 2, 2022

Description

This fixes Multiple "root" queries found error that happens when you name a query in page template

Related Issues

[sc-54658]

Fixes #36420

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 2, 2022
@marvinjude marvinjude added type: bug An issue or pull request relating to a bug in Gatsby and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Sep 2, 2022
@marvinjude marvinjude marked this pull request as ready for review September 6, 2022 13:49
@LekoArts LekoArts added topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine) and removed type: bug An issue or pull request relating to a bug in Gatsby labels Sep 7, 2022
Copy link
Contributor

@tyhopp tyhopp left a comment

Choose a reason for hiding this comment

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

Does this remove the limitation mentioned in #36420 (comment)? If so we should update the docs in this PR as well

packages/gatsby-plugin-mdx/README.md Show resolved Hide resolved
packages/gatsby/src/query/query-compiler.js Outdated Show resolved Hide resolved
packages/gatsby/src/query/query-compiler.js Show resolved Hide resolved
packages/gatsby/src/query/query-compiler.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: core Relates to Gatsby's core (e.g. page loading, reporter, state machine)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants