Support multiple locales in a single GraphQL query #1763
svntime
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying to fetch a document with its translation in a single query but as you can see, both languages have an equal result:
I know that I can do this easily with Rest or Local API, so it's only related to GraphQL. I could bypass this behavior with my custom query and resolve function, which uses Local API method with
locale: args.locale
. Extending theLocaleInputType
in GraphQL schema with newall
value doesn't sound easy, but maybe it would be possible? Or just handlinglocale
differently and allowing something like the screenshot above?Beta Was this translation helpful? Give feedback.
All reactions