calibanGenClient dropping last directory in outputPath #2563
Labels
bug
Something isn't working
good first issue
Good for newcomers
tools
Issue related to Caliban tools like code generation or schema comparison
I've just upgraded
caliban-codegen-sbt
from version 2.5.1 to 2.9.2 and have noticed that when specifying anoutputPath
of a directory it's dropping the last part. For example, if I use the command:All the files will end up in
src/main/scala/io/github/openequella/graphql/
. But if I add a superfluous last part to theoutputPath
likeignore/
then it works. For example this:Nicely places the files in
src/main/scala/io/github/openequella/graphql/client/
.As I said, the above statement worked fine in 2.5.1 but not in 2.9.2. (Mind you, other than that, the generated code is identical - just in the wrong directory.)
Update: Worked up to 2.7.2, broke in 2.8.0.
The text was updated successfully, but these errors were encountered: