Another issue we're seeing after update to Apollo ...
# apollo-kotlin
j
Another issue we're seeing after update to Apollo 4.0 is that some tests are failing with....any particular known changes needed for this now?
Copy code
When building fallback types, you must specify '__typename'
java.lang.IllegalStateException: When building fallback types, you must specify '__typename'
	at com.apollographql.apollo.api.FakeResolverKt.buildFieldOfNonNullType(fakeResolver.kt:198)
b
I think it's related to this? If you pass an interface you need to set the
__typename
- or you can pass a concrete type, which will set it for you.
j
Thanks, looks like that was the issue
🎉 1