Benoit 'BoD' Lubek
Benoit 'BoD' Lubek
@hanssonduck it would definitely be a plus if this is separated in its own module
Closing as this was done in #5307 and available in [v4.0.0-beta.2](https://github.com/apollographql/apollo-kotlin/releases/tag/v4.0.0-beta.2)
Hi @allenwhite. If you added the `@targetName` directive, can you check in the generated files (`/build/generated/source/apollo/service/com/example/type`), if you see one named `Long.kt`? You should not see it but see `MyLong.kt`...
@allenwhite Just to be sure: which version of Apollo are you on? Is the `extra.graphqls` file next to the `schema.graphqls` one (like in [this sample](https://github.com/BoD/apollo-kotlin-template/tree/target-name/src/main/graphql))?
@allenwhite Would it be possible for you to provide a minimal barebones version of your project so we can have a look? (If this can't be public, you can share...
Thanks a lot! This helped identify the issue. For the posterity in case other people have the same issue: Apollo was explicitly configured with `schemaFile.set(...)` which excludes the `extra.graphqls` file...
Closing this one as this is achievable with the [compiler hooks](https://github.com/apollographql/apollo-kotlin/tree/main/tests/compiler-hooks).
Thanks a lot for the feedback @Mordred, that's very valuable. That would explain it indeed. I'm guessing caching these mutations probably doesn't make a lot of sense anyway?
@Mordred You can use [`ApolloStore.remove`](https://apollographql.github.io/apollo-kotlin/kdoc/apollo-normalized-cache/com.apollographql.apollo3.cache.normalized/-apollo-store/remove.html) to remove a specific key manually. For automatic detection, there is an experimental [TrimmableNormalizedCache](https://apollographql.github.io/apollo-kotlin/kdoc/apollo-normalized-cache-sqlite-incubating/com.apollographql.apollo3.cache.normalized.sql/-trimmable-normalized-cache-factory/index.html) in the 'incubating' normalized cache artifacts. This is not ready for...
Hi @nikonhub ! For it to work as expected you will also need to mark the `posts` field as embedded in the query record (instead of being saved as their...