Is there a way to consume the gql queries from a u...
# apollo-kotlin
p
Is there a way to consume the gql queries from a url? Kind of having a centralized place for both Android and iOS queries. Even better if it is versioned.
b
Not natively but a dedicated git repo could be a simple way to do this?
Or did you mean a way to do this at runtime? As opposed to build time?
p
I mean build time. Yeah I was thinking of a repo too. I think that's more than enough.
b
You could probably also use something like https://www.apollographql.com/docs/graphos/explorer/operation-collections/. There's probably an API to programmatically download the operations from it but don't have it handy right now.
p
Thanks for the link, I will check
👍 1