Distelli/graphql-apigen

Possibly search for .graphqls files in addition to .graphql files?

apottere opened this issue · 5 comments

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?

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.

Sounds good to me, it should be a simple change.

Sorry for the neglect on this issue. I plan to add support for this in about a week.

Released in version 2.1.0 :).

Thanks!