GraphQL with Ruby On Rails: Queries in Multiple Files
08-Apr-2019 2526
In the last episode, we added RSpecs tests for GraphQL mutations. If you need some more insight about the topic you can check the article here. Today we are going to add specs (again, we will focus only on the happy paths) for GraphQL queries. But there is one thing about the current implementation of the queries that I don’t like. We have everything defined in one file: app/graphql/types/query_type.rb.
GraphQL with Ruby On Rails: Queries in Multiple Files #ruby #rubydeveloper #rubyonrails #GraphQL #Rails: #Queries #Multiple #Files https://rubyonrails.ba/link/graphql-with-ruby-on-rails-queries-in-multiple-files