Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/tree/entry_type.rb')
-rw-r--r--app/graphql/types/tree/entry_type.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/graphql/types/tree/entry_type.rb b/app/graphql/types/tree/entry_type.rb
index c0150b77c55..1c612f91a5b 100644
--- a/app/graphql/types/tree/entry_type.rb
+++ b/app/graphql/types/tree/entry_type.rb
@@ -4,17 +4,17 @@ module Types
module EntryType
include Types::BaseInterface
- field :id, GraphQL::ID_TYPE, null: false,
+ field :id, GraphQL::Types::ID, null: false,
description: 'ID of the entry.'
- field :sha, GraphQL::STRING_TYPE, null: false,
+ field :sha, GraphQL::Types::String, null: false,
description: 'Last commit SHA for the entry.', method: :id
- field :name, GraphQL::STRING_TYPE, null: false,
+ field :name, GraphQL::Types::String, null: false,
description: 'Name of the entry.'
field :type, Tree::TypeEnum, null: false,
description: 'Type of tree entry.'
- field :path, GraphQL::STRING_TYPE, null: false,
+ field :path, GraphQL::Types::String, null: false,
description: 'Path of the entry.'
- field :flat_path, GraphQL::STRING_TYPE, null: false,
+ field :flat_path, GraphQL::Types::String, null: false,
description: 'Flat path of the entry.'
end
end