Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(next-drupal): add NextDrupal and NextDrupalBase class definitions
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
- Loading branch information