summaryrefslogtreecommitdiff
path: root/app/graphql/types/issues/unioned_issue_filter_input_type.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/issues/unioned_issue_filter_input_type.rb')
-rw-r--r--app/graphql/types/issues/unioned_issue_filter_input_type.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/graphql/types/issues/unioned_issue_filter_input_type.rb b/app/graphql/types/issues/unioned_issue_filter_input_type.rb
new file mode 100644
index 00000000000..9c7261279c7
--- /dev/null
+++ b/app/graphql/types/issues/unioned_issue_filter_input_type.rb
@@ -0,0 +1,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