You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm starting in ruby, I saw this, but I don't know how I can improve the structure to be more clean instead use all of this in two files (mutations and queries)
I'm looking for something like http://docs.ansible.com/ansible/latest/playbooks_best_practices.html but for graphql-ruby
For example I have a lot standard CRUD actions
Now I'm putting them mostly into two files
Types::Mutation
&Types::Query
andmutation.rb
now have almost 200 lines.Ideally I want organization like standard rails controller. Put in one file actions (create update delete show index) for one resource.
The text was updated successfully, but these errors were encountered: