Closed martinbonnin closed 4 months ago
The auto-configuration should also make sure that the
okHttpClient
dispatcher
properties that get used for creating ApolloClient
are Spring beans, so that auto-instrumentation frameworks that use bean postprocessors (such as Spring Cloud Sleuth) work out of the box.
Closing as out of scope. We're welcoming 3rd party integrations though. If anyone gets to it, please share it and we'll add it to the list!
Similar to https://github.com/freefair/okhttp-spring-boot, add support for Spring Boot Autoconfiguration
The url could be set as a
application.yml
property:apollo.client.server-url=https://some-site.com/graphl
so that theApolloClient
is made available automatically.