consul/consul

View on GitHub
app/graphql/types/user_type.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Types
  class UserType < Types::BaseObject
    field :id, ID, null: false
    field :public_comments, Types::CommentType.connection_type, null: true
    field :public_debates, Types::DebateType.connection_type, null: true
    field :public_proposals, Types::ProposalType.connection_type, null: true
    field :username, String, null: true
  end
end