I would probably query by id & language, and serve up the appropriate content that way. I’m fairly sure that’s how most multi-lingual things work
p
picosam
05/30/2018, 8:00 PM
Thanks Will; my second question was about more than multilingual support though, I meant: do you think it’s more efficient to let the client handle its own object transformation, or is it “nice” to have the server return a cleaner object?
m
medelman
05/30/2018, 8:28 PM
So, from a philosophical standpoint, the primary benefit of GraphQL is returning a 'ready-to-consume' object to the client. In other words, as a best practice, you should handle the data transformation on the server-side.