radar/twist-v2

View on GitHub
backend/lib/twist/web/graphql/resolvers/comments.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Twist
  module Web
    module GraphQL
      module Resolvers
        class Comments < Resolver
          def resolve(note_id:)
            context[:comment_repo].by_note_id(note_id)
          end
        end
      end
    end
  end
end