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-source-drupal): Add tests for meta.count support & fix bug with i18n #33423

Merged
merged 5 commits into from
Oct 5, 2021

Conversation

KyleAMathews
Copy link
Contributor

Add testing for #32883

Fixes #33186 as well.

The main guerentee that this is working is that only the first articles json file has a
next href so the only way all articles are fetched is if we create the URLs upfront.
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Oct 4, 2021
@KyleAMathews KyleAMathews added topic: source-drupal Related to Gatsby's integration with Drupal 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 Oct 4, 2021
@KyleAMathews KyleAMathews merged commit 22805bd into master Oct 5, 2021
@KyleAMathews KyleAMathews deleted the test-meta.count branch October 5, 2021 17:52
KyleAMathews added a commit that referenced this pull request Oct 5, 2021
… with i18n (#33423)

* feat(gatsby-source-drupal): port hot-fixes for Drupal/Gatsby customer to package

* Add tests for meta.count URL creation

The main guerentee that this is working is that only the first articles json file has a
next href so the only way all articles are fetched is if we create the URLs upfront.

* Add tests for meta.count for i18n (and fix bug for it)

* Make paths windows-happy

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
vladar pushed a commit that referenced this pull request Oct 5, 2021
… with i18n (#33423)

* feat(gatsby-source-drupal): port hot-fixes for Drupal/Gatsby customer to package

* Add tests for meta.count URL creation

The main guerentee that this is working is that only the first articles json file has a
next href so the only way all articles are fetched is if we create the URLs upfront.

* Add tests for meta.count for i18n (and fix bug for it)

* Make paths windows-happy

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
(cherry picked from commit 22805bd)
vladar pushed a commit that referenced this pull request Oct 5, 2021
… with i18n (#33423) (#33440)

* feat(gatsby-source-drupal): port hot-fixes for Drupal/Gatsby customer to package

* Add tests for meta.count URL creation

The main guerentee that this is working is that only the first articles json file has a
next href so the only way all articles are fetched is if we create the URLs upfront.

* Add tests for meta.count for i18n (and fix bug for it)

* Make paths windows-happy

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
(cherry picked from commit 22805bd)

Co-authored-by: Kyle Mathews <mathews.kyle@gmail.com>
@Auspicus
Copy link
Contributor

@KyleAMathews legend 🍻

wardpeet pushed a commit to herecydev/gatsby that referenced this pull request Oct 29, 2021
… with i18n (gatsbyjs#33423)

* feat(gatsby-source-drupal): port hot-fixes for Drupal/Gatsby customer to package

* Add tests for meta.count URL creation

The main guerentee that this is working is that only the first articles json file has a
next href so the only way all articles are fetched is if we create the URLs upfront.

* Add tests for meta.count for i18n (and fix bug for it)

* Make paths windows-happy

Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: source-drupal Related to Gatsby's integration with Drupal type: bug An issue or pull request relating to a bug in Gatsby
Projects
None yet
3 participants