summaryrefslogtreecommitdiff
path: root/app/graphql/types/issues/unioned_issue_filter_input_type.rb
blob: 9c7261279c72c79b31da3ec8b4becaeaccf91a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Types
  module Issues
    class UnionedIssueFilterInputType < BaseInputObject
      graphql_name 'UnionedIssueFilterInput'

      argument :assignee_usernames, [GraphQL::Types::String],
               required: false,
               description: 'Filters issues that are assigned to at least one of the given users.'
      argument :author_usernames, [GraphQL::Types::String],
               required: false,
               description: 'Filters issues that are authored by one of the given users.'
    end
  end
end