drupal-graphql / drupal-graphql/graphql

Add language option to the entity buffer

Open
#1,116 0 comments 0 reactions 0 assignees View on GitHub
4.x feature
Dominant language
PHP
Stars
287
Forks
198
PR merge metrics
No merged PRs in 30d

Description

In a multilingual context it should be possible to create a query which returns only the entities that have a specific translation. That is currently possible. But it is not possible to use the entity buffer to load those entities in the requested translation. The method `\Drupal\graphql\GraphQL\Buffers\EntityBuffer::add()` therefore needs to be extended by a third parameter - `$language`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.