drupal-graphql / drupal-graphql/graphql

Route Entity data producer with non-existing translation

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

Description

This plugin tries to load entity translation based on the language argument. But in case that translation doesn't exist Drupal's ContentEntityBase class throws exception `Invalid translation language ($langcode) specified.` .

I suggest to add check if translation exists before trying to get it.

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.