Neal Sanche
11/04/2021, 4:55 PMApolloRequest<GetUserQuery.Data> but Query<TypeVariable(D)> was expected
and Unresolved reference: hasErrors
and a bunch more like this. I'll keep looking.mbonnin
11/04/2021, 5:06 PMval request = ApolloRequest.Builder(HeroQuery()).fetchPolicy(FetchPolicy.NetworkOnly).build()
val response = apolloClient.query(request)
becomes
val response = apolloClient.query(HeroQuery())
.fetchPolicy(FetchPolicy.NetworkOnly)
.execute()
Neal Sanche
11/04/2021, 5:06 PMmbonnin
11/04/2021, 5:20 PMHe hates the sealed classes because they come out in a very 'un-swift' wayI see... In that case, you can use
sealedClassesForEnumsMatching.set(emptyList())
to generate enumsAnd for some reason we are getting classes with underscores in themWould you have an example?
Neal Sanche
11/04/2021, 5:22 PMmbonnin
11/04/2021, 5:27 PM_
. IIRC, this only happens for kotlin keywords like for
, fun
, object
, etc..Neal Sanche
11/04/2021, 5:30 PMmbonnin
11/04/2021, 5:31 PMNeal Sanche
11/04/2021, 5:31 PMqueryCacheAndNetwork
function?mbonnin
11/04/2021, 5:32 PMexecuteCacheAndNetwork
nowNeal Sanche
11/04/2021, 5:32 PMmbonnin
11/04/2021, 5:32 PMApolloQueryCall
Neal Sanche
11/04/2021, 5:33 PMmbonnin
11/04/2021, 5:34 PMNeal Sanche
11/04/2021, 5:34 PMbod
11/05/2021, 10:03 AMNeal Sanche
11/10/2021, 9:46 PMbod
11/11/2021, 1:37 PM