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 NextDrupalFetch class definitions
The DrupalClient class has been refactored to inherit from the NextDrupalFetch (base class) and NextDrupal (JsonAPI/App Router class). DrupalClient class contains the methods that are only needed to support Next.js' Pages Router. The getPathFromContext() method has been replaced with the constructPathFromSegment() method for App Router usages. Issue #665
- Loading branch information