Closed
Description
Package
next-drupal (NPM package)
Describe the feature request
To add draft mode to next-drupal
will require a new draft
JS module that takes an instance of the DrupalClient
as its second parameter. It would be nice to add optional debugging output for these new methods, but the current DrupalClient._debug()
method is private.
Describe the solution you'd like
Make the DrupalClient.debug()
method public.
Additional context
This would also allow 3rd party JS libraries to add debugging statements when extending DrupalClient.