Closed (fixed)
Project:
Consumers
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2025 at 17:34 UTC
Updated:
11 Dec 2025 at 15:49 UTC
Jump to comment: Most recent
\Drupal\consumers\Negotiator makes queries and loads an entity on every request. It doesn't need to do this.
Make a request with the consumers module installed
Use cache and entity query techniques to minimise entity loading. Plus add a missing index.
None
New API to support getting the client ID only and not the consumer object from the request.
New index on client ID.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
alexpottComment #4
e0ipsoThis looks great! Thanks for the contribution and for the ping in Slack @alexpott.
Comment #5
e0ipso