Jacob Rhoda
07/27/2023, 4:31 PMmbonnin
07/27/2023, 4:37 PMapollo-api
instead of apollo-runtime
to your other modules but it's true some of the Apollo API are exposed in modelsmbonnin
07/27/2023, 4:41 PMExecutable.Data
is probably a minor thing in the grand scheme of things.Jacob Rhoda
07/27/2023, 5:29 PMmbonnin
07/27/2023, 5:30 PMapollo-api
as API in your repository module:
dependencies {
implementation("com.apollographql.apollo3:apollo-runtime")
implementation("com.apollographql.apollo3:apollo-api")
}
mbonnin
07/27/2023, 5:31 PMapollo-api
symbols in your compile classpath for projects that depend on it but I think it's not that bad?mbonnin
07/27/2023, 5:34 PMExecutable.Data
(and the other bits that are used like Query
, Operation
, Adapter
), you could strip the apollo-api.jar
but I wouldn't really recommend thatJacob Rhoda
07/27/2023, 5:34 PMJacob Rhoda
07/27/2023, 5:34 PMmbonnin
07/27/2023, 5:36 PMmbonnin
07/27/2023, 5:36 PMapollo-api
transitively. Sorry I don't have a much better answerJacob Rhoda
07/27/2023, 5:37 PMJacob Rhoda
07/27/2023, 5:38 PMmbonnin
07/27/2023, 5:42 PMimport com.apollographql.apollo3
. Not super familiar with this but that would be a way to have the kotlin compiler be able to still read the symbols and no one being able to write code using themJacob Rhoda
07/27/2023, 5:42 PM