drupal-graphql / drupal-graphql/graphql
Route Entity data producer with non-existing translation
Open
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.