-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
feat(gatsby-recipes): Add GatsbyPage provider #25248
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✨ The page resource provider looks great! Just had one tiny nit.
We should probably have someone from @gatsbyjs/core review the unlock code since I'm not very familiar with what's going on there, and not sure if there might be unintended side effects.
@sidharthachatterjee and @pieh helped me figure that out 😬 |
Your pull request can be previewed in Gatsby Cloud: https://build-5c4c1c47-86b4-4567-96d9-55208c478277.staging-previews.gtsb.io |
This adds a
GatsbyPage
provider to the recipes GraphQL server, which allows us to fetch a list of pages in a Gatsby site. Note that this only implements reading, I'm leaving the create/update/delete functionality a noop for now.