From 930ff68c1efc380cb7522aa9b3884842eecb2486 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 16 Sep 2019 18:06:05 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/graphql/resolvers/issues_resolver.rb | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'app/graphql/resolvers') diff --git a/app/graphql/resolvers/issues_resolver.rb b/app/graphql/resolvers/issues_resolver.rb index b50186c5a82..4e71a7a9ead 100644 --- a/app/graphql/resolvers/issues_resolver.rb +++ b/app/graphql/resolvers/issues_resolver.rb @@ -11,31 +11,32 @@ module Resolvers description: 'The list of IIDs of issues, e.g., [1, 2]' argument :state, Types::IssuableStateEnum, required: false, - description: "Current state of Issue" + description: 'Current state of Issue' argument :label_name, GraphQL::STRING_TYPE.to_list_type, required: false, - description: "Labels applied to the Issue" + description: 'Labels applied to the Issue' argument :created_before, Types::TimeType, required: false, - description: "Issues created before this date" + description: 'Issues created before this date' argument :created_after, Types::TimeType, required: false, - description: "Issues created after this date" + description: 'Issues created after this date' argument :updated_before, Types::TimeType, required: false, - description: "Issues updated before this date" + description: 'Issues updated before this date' argument :updated_after, Types::TimeType, required: false, - description: "Issues updated after this date" + description: 'Issues updated after this date' argument :closed_before, Types::TimeType, required: false, - description: "Issues closed before this date" + description: 'Issues closed before this date' argument :closed_after, Types::TimeType, required: false, - description: "Issues closed after this date" + description: 'Issues closed after this date' argument :search, GraphQL::STRING_TYPE, # rubocop:disable Graphql/Descriptions required: false - argument :sort, Types::Sort, # rubocop:disable Graphql/Descriptions + argument :sort, Types::SortEnum, + description: 'Sort issues by this criteria', required: false, default_value: 'created_desc' -- cgit v1.2.1