GraphQL with Ruby On Rails: Queries in Multiple Files

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 https://rubyonrails.ba/single/graphql-with-ruby-on-rails-queries-in-multiple-files

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles