Benoit 'BoD' Lubek
Benoit 'BoD' Lubek
With #4210, hooks can now be set to intercept and manipulate KotlinPoet / JavaPoet builders before they are written to the disk. A few examples of using it are available...
Available in [3.7.0](https://github.com/apollographql/apollo-kotlin/releases/tag/v3.7.0)
Hi! Thanks for reporting this! This doesn't immediately ring a bell 🤔 However I'm not sure I understand what you mean by "Our schema has no scalar Long" - if...
Thanks! Are you in a multi-module setup by any chance (wondering if it could be a [type clash](https://www.apollographql.com/docs/kotlin/advanced/multi-modules/#type-clashes)).
Ooh good catch, yes this is probably the culprit. Can you try to rename the `Long` scalar definition and usage to, for instance, `MyLong` in your schema, to see if...
In [this PR](https://github.com/apollographql/apollo-kotlin/pull/4243), we're adding an (experimental) `@targetName` directive that you can set on your scalar declaration (by extending it), which will be used to chose the corresponding generated Kotlin...
The `@targetName` directive has just been merged, so this will be in the next release, in the meantime it can be tried out with the [snapshots](https://github.com/apollographql/apollo-kotlin#snapshots).
Thanks for trying it out! Just making sure, are these messages you're seeing in the IDE? It's possible the directive is not known to the GraphQL plugin, so it highlights...
Hmm this is odd indeed. The class should be named `GatewayApiMyLong`. Could this be a cache issue (have you tried to clean/rebuild?). I also pushed a mini project [here](https://github.com/BoD/apollo-kotlin-template/tree/target-name) that...
Hi! 👋 Thanks for the question! As of today we don't really have a satisfying answer to this. Improving the story of using pagination with caching in particular is on...