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

WIP: quick test of rebase of 665 #735

Closed
wants to merge 4 commits into from
Closed

WIP: quick test of rebase of 665 #735

wants to merge 4 commits into from

Conversation

JohnAlbin
Copy link
Collaborator

I'm getting strange test results locally and want to run the rebased code agains the CI.

Copy link

vercel bot commented Apr 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
next-drupal ⬜️ Ignored (Inspect) Visit Preview Apr 1, 2024 6:19pm

The DrupalClient class has been renamed to NextDrupalPages and has been
refactored to inherit from the NextDrupalBase (base class) and NextDrupal
(JsonAPI/App Router class). NextDrupalPages class contains the methods that are
only needed to support Next.js' Pages Router. NextDrupalPages is also available
as "DrupalClient" for backwards-compatibility.

The getPathFromContext() method has been replaced with the
constructPathFromSegment() method for App Router usages.

Issue #665
…ticParams()

The App Router's new generateStaticParams() replaces Pages Router's
getStaticProps(). The new getResourceCollectionPathSegments() method supports
generateStaticParams() by returning a list of path segments. This new method
replaces the old getStaticPathsFromContext() method.

Fixes #665
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant