Hi, I have one content type (Article) and two locales. I've added two articles and both have only one translation. One has the only English translation, one has the only Turkish translation. But it seems, at gatsby side, records have null copies for Turkish and English if they were not translated to that language. I'd expect no record at all for the language that record hasn't been translated to.
The environment:
One content type: Article
Two locales: English, Turkish
Two contents with only one translation each. One is only translated to English, one is Turkish.
Hi, I have one content type (Article) and two locales. I've added two articles and both have only one translation. One has the only English translation, one has the only Turkish translation. But it seems, at gatsby side, records have
null
copies for Turkish and English if they were not translated to that language. I'd expect no record at all for the language that record hasn't been translated to.The environment:
Graphql query I run:
Result:
Another query for getting Turkish content:
Result:
BTW, I can avoid that
null
records by queryingslug
with regex. For example, if I run this query, I get my expected result:Result: