-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Labels
bugSomething isn't workingSomething isn't workingtriageA new issue that needs triageA new issue that needs triage
Description
Package containing the bug
I’m not sure
Describe the bug
I have a Drupal commerce site with next on the frontend and I get the following error when posting to the add to cart endpoint as the next_jsonapi overrides Drupal's EntityResource.
TypeError: Cannot assign int to property Drupal\jsonapi\Controller\EntityResource::$eventDispatcher of type Symfony\Component\EventDispatcher\EventDispatcherInterface in Drupal\jsonapi\Controller\EntityResource->__construct()
Expected behavior
jsonapi.entity_resource
inside next_jsonapi.services.yml should have event_dispatcher as argument before %next_jsonapi.size_max%
Steps to reproduce:
- First '...'
- Then '....'
- 😢
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtriageA new issue that needs triageA new issue that needs triage