wmaciejak/rails_rom_graphql_clean_architecture_boilerplate

View on GitHub
app/concepts/user/resolvers/comments.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module User
  module Resolvers
    class Comments < Utils::BaseResolver
      batch_load mode: :many, key: :author_id, fetch_method: :all_for_author, cache: false
      repository :comment
    end
  end
end