Basically, we need to do 2 things.
-
Improve souls g type command
add dataloader method when it has a relation table
-
Create souls g source command
add souls g source command and it generates fetch file in source dir.
reference
https://graphql-ruby.org/dataloader/overview.html