You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
When implementing Gatsby's onCreatePage function to dynamically generate localized versions of pages, with gatsby-source-prismic-graphql Gatsby appears to get into an infinite loop on the createPagesStatefully step, thus preventing page generation and startup.
I realise this plugin has options to dynamically create pages without the need for utilizing Gatsby's onCreatePage, however, I would like more granular control over this (e.g. using country codes instead of language codes), also I am migrating from Contentful and still have pages that require this existing system for creating localized pages.
Description
When implementing Gatsby's
onCreatePage
function to dynamically generate localized versions of pages, withgatsby-source-prismic-graphql
Gatsby appears to get into an infinite loop on thecreatePagesStatefully
step, thus preventing page generation and startup.I realise this plugin has options to dynamically create pages without the need for utilizing Gatsby's
onCreatePage
, however, I would like more granular control over this (e.g. using country codes instead of language codes), also I am migrating from Contentful and still have pages that require this existing system for creating localized pages.Minimal reproduction: https://github.com/mrseanbaines/gatsby-prismic-blog
Related issues
#164
The text was updated successfully, but these errors were encountered: