- Issue created by @apmsooner
- First commit to issue fork.
- π¦πΊAustralia almunnings Melbourne, π¦πΊ
Do you perceive
RouteEntityExtra
,EntityLoadRevision
andEntityConnectionQueryHelper
having the same issue with theirgetTranslated
code?I'm thinking we abstract the lot into a trait, which allows us to be consistent and possibly feature flag the behaviour
- πΊπΈUnited States apmsooner
@almunnings, i'm assuming yes an abstraction may be favorable but also a behavioral setting to how a site wants to handle. I found in the Wunder starter kit that they also have their own patch (https://patch-diff.githubusercontent.com/raw/drupal-graphql/graphql/pull...) that is addressing similar errors but they are just returning NULL which wouldn't be the expected behavior for everyone. I think there perhaps needs to be an underlying global setting that determines if default language fallbacks should be returned everywhere applicable.
- πΊπΈUnited States apmsooner
Noting also that the Wunder patch referenced above is against the graphql module so do we address these issues there or within graphql_compose? It certainly feels at least graphql_compose is more actively maintained but leveraging functions from graphql which seem to be the source of the underlying issues we're seeing.