graphqlcodegen icon indicating copy to clipboard operation
graphqlcodegen copied to clipboard

Change default value of outputDir?

Open brychcy opened this issue 6 months ago • 1 comments

Hi!

The default value for outputDir is ${project.build.directory}/generated-sources

Many other plugins generate code into subdirectories of this, e.g. into ${project.build.directory}/generated-sources/annotations

When importing a project like this into Eclipse (and VSCode), this leads to problems, because the corresponding source folders are nested. I can imagine that other build tools might also run into problems.

Of course, this is configurable, so we use:

<outputDir>${project.build.directory}/generated-sources/graphqlcodegen</outputDir>

I thought it would be nice if this was the default.

brychcy avatar Jul 28 '25 16:07 brychcy