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:
authorBrett Walker <bwalker@gitlab.com>2019-04-22 22:46:13 +0300
committerBrett Walker <bwalker@gitlab.com>2019-04-23 20:00:45 +0300
commitd693c3e5cac0fbe5c5e28e0ade43aa7455ba4876 (patch)
tree3540dbfdf7239709b2b3a3443359f0b3ebb05f57 /app/graphql
parentf5c7c3b9ae8b91662830f46b595ce1512050be89 (diff)
Refactor group query spec
and removing unnecessary code
Diffstat (limited to 'app/graphql')
-rw-r--r--app/graphql/types/namespace_type.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/graphql/types/namespace_type.rb b/app/graphql/types/namespace_type.rb
index b1c5da50aa5..36d8ee8c878 100644
--- a/app/graphql/types/namespace_type.rb
+++ b/app/graphql/types/namespace_type.rb
@@ -5,15 +5,15 @@ module Types
graphql_name 'Namespace'
field :id, GraphQL::ID_TYPE, null: false
- field :name, GraphQL::STRING_TYPE, null: false
+ field :name, GraphQL::STRING_TYPE, null: false
field :path, GraphQL::STRING_TYPE, null: false
+ field :full_name, GraphQL::STRING_TYPE, null: false
+ field :full_path, GraphQL::ID_TYPE, null: false
+
field :description, GraphQL::STRING_TYPE, null: true
field :visibility, GraphQL::STRING_TYPE, null: true
field :lfs_enabled, GraphQL::BOOLEAN_TYPE, null: true, method: :lfs_enabled?
-
field :request_access_enabled, GraphQL::BOOLEAN_TYPE, null: true
- field :full_path, GraphQL::ID_TYPE, null: false
- field :full_name, GraphQL::STRING_TYPE, null: false
end
end