diff options
author | Jan Provaznik <jprovaznik@gitlab.com> | 2019-06-05 13:25:22 +0300 |
---|---|---|
committer | Jan Provaznik <jprovaznik@gitlab.com> | 2019-06-05 13:25:22 +0300 |
commit | d9a761ed14ab5025626dee17faf1528c1264a1b0 (patch) | |
tree | 8e5acee47fee5454b0d56efa2a70f18455d1a1cd /app/graphql/resolvers/issues_resolver.rb | |
parent | 2b7fb50f5d2015e11a78c0ff60d0f9ac8b7776aa (diff) | |
parent | f16b13113ff580fbde78f8f6ba42a3f86c04ca12 (diff) |
Merge branch 'bvl-use-global-ids-graphql' into 'master'
Use global IDs when exposing GraphQL resources
Closes #62650
See merge request gitlab-org/gitlab-ce!29080
Diffstat (limited to 'app/graphql/resolvers/issues_resolver.rb')
-rw-r--r-- | app/graphql/resolvers/issues_resolver.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/graphql/resolvers/issues_resolver.rb b/app/graphql/resolvers/issues_resolver.rb index 3ee3849f483..6988b451ec3 100644 --- a/app/graphql/resolvers/issues_resolver.rb +++ b/app/graphql/resolvers/issues_resolver.rb @@ -2,11 +2,11 @@ module Resolvers class IssuesResolver < BaseResolver - argument :iid, GraphQL::ID_TYPE, + argument :iid, GraphQL::STRING_TYPE, required: false, description: 'The IID of the issue, e.g., "1"' - argument :iids, [GraphQL::ID_TYPE], + argument :iids, [GraphQL::STRING_TYPE], required: false, description: 'The list of IIDs of issues, e.g., [1, 2]' argument :state, Types::IssuableStateEnum, |