Hi! Please, any tips what is the best way how to r...
# graphql-kotlin
f
Hi! Please, any tips what is the best way how to run and debug maven/gradle plugin task
graphqlGenerateClient
during development in your lib? ๐Ÿ™‚
Maybe it is anti-pattern, but I created a custom
main
function that calls
GraphQLClientGenerator.generate()
method ๐Ÿ™‚
d
๐Ÿ‘‹ can you elaborate on the use case here? i.e. in general I'd assume you would run `graphqlGenerateClient`/`graphqlGenerateTestClient` at build time whenever you change your query file. unsure why you would ever need to call the generate method directly
f
Hey ๐Ÿ™‚ My use case was to contribute into your plugin. So I wanted to perform some manual testing during implementation ๐Ÿ™‚
๐Ÿ‘ 1
d
Then yeah calling the generate method from a unit test so you can debug and step through the code is the way to go
โœ… 1