confirming that this is not possible to declarativ...
# apollo-kotlin
a
confirming that this is not possible to declaratively define this:
Copy code
extend type SomeTypeWithComplexKeys @typePolicy(keyFields: "fieldA complexField { id }")
context we have some types with nested fields that are unique that we may want part of caching key. obvious solution is to ensure all types get an
ID
field, which we can do too. or use programmatic keys
m
Correct, this is not possible currently. Tracked here: https://github.com/apollographql/apollo-kotlin/issues/5203
thank you color 1