:wave: I don't suppose there is. nice way of chan...
# apollo-kotlin
m
👋 I don't suppose there is. nice way of changing client (kotlin) base url at runtime right?
j
We sort of do that in https://github.com/joreilly/Confetti (there's different url for each conference) but I guess it's a new apollo client object that's created so probably not exactly what you're thinking. @mbonnin can probably comment more on that 😃
m
Yeah am "afraid" we'll have to resort to something like that
cheers!
m
Out of curiosity, is that for AppSync? Feel free to open an issue, we support changing the HTTP headers so might as well support changing the url
m
So we basically need to define the actual endpoint ( base url) to use after the user chooses from a ui opton before signing in
m
Oh gotcha separate use case then. I'd recommend rebuilding your ApolloClient in those cases, if only to use a separate cache per user
m
right cachem have not even though about that
cheers!
cheers 1