Make `src/main/resources` configurable for GraphQL clients
mainrs opened this issue · comments
Sven commented
When including the library in a multiplatform project, graphql-kotlin
still tries to discover .graphql
files from the src/main/resources
folder. A more common scenario is to place the files under src/commonMain/resources
, since one might want to generate the bindings for all platforms.
A (temporary) solution until proper multiplatform support exists would be to make the path configurable.
Sven commented
Ahhh, the configuration already exists! It's called queryFolder
. Sorry!