Open
Description
Package
next-drupal (NPM package)
Ask the question
Trying to generate all pages in [...slug].tsx statically, implemeted getStaticPaths like this:
export async function getStaticPaths(context): Promise<GetStaticPathsResult> {
return {
paths: await drupal.getStaticPathsFromContext("node--value", context),
fallback: false,
};
}
The problem is that this fetches 1000 path items, but Drupal contains over 3000 of these kind of nodes.
How can we possibly fetch all of the items here?