Hi Sebastian,
I am adding a feature request in addition to this thread here: [IMPLEMENTED] GraphQL default language
I am fine with querying multiple languages in GraphQL as I need them all to build the corresponding translated pages from my static site generator. But what would be super convenient from a maintenance perspective is the ability to create GraqhQL fragments for the implemented languages.
Example: I am using de
and en
and would like to query like:
query {
data {
prop {
...Languages
}
}
}
fragment Languages on SquidexLanguages {
de
en
}
This would require that the server schema implements SquidexLanguages
as interface. Thus, we could use such fragments client side and could reuse the fragment in all queries, which would be awesome! Outlined idea also here: https://stackoverflow.com/a/75681681
Thanks for taking the time to provide your thoughts!