Skip to content

Add language option to the entity buffer #1116

Open
@hchonov

Description

@hchonov

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions