Possibly search for .graphqls files in addition to .graphql files?
apottere opened this issue · 5 comments
apottere commented
According to the Intellij plugin, graphql schemas should be defined in .graphqls files, not .graphql. I haven't been able to find any substantial sources to back this up besides a few hits on google, including the readme here.
Would it be a good idea to glob for both .graphql
and .graphqls
files in ApiGenMojo
?
apottere commented
For context, right now we have both a .graphqls
file (for intellij plugin support) and a link to that file named .graphql
for codegen - we'd like to reduce this to one file.
brimworks commented
Sounds good to me, it should be a simple change.
brimworks commented
Sorry for the neglect on this issue. I plan to add support for this in about a week.
brimworks commented
Released in version 2.1.0 :).
apottere commented
Thanks!