cayleygraph / cayleygraph/cayley

Language tagged strings and i18n

Open
#647 14 comments 1 reaction 1 assignee Claimed by @iddan View on GitHub
enhancement Feature Design query languages
Dominant language
Go
Stars
15.1k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

I noticed that language tagged strings are already supported internally in Cayley. It would be nice to be able to use this functionality through the HTTP APIs somehow (mostly Gizmo and GraphQL). I'm not entirely sure yet what would be the best way to include this. I would think it work somewhat similarly to the labeled sub-graphs, so I could imagine a `Lang` directive for Gizmo and a `@lang` and `@language` directive for GraphQL (similar to what I proposed in #614). Maybe it makes more sense though to have it work like the `@opt` directive where it doesn't propagate implicitly to the nested query. In any case, curious to hear what you think about it!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.