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/user_interface.rb')
-rw-r--r--app/graphql/types/user_interface.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/graphql/types/user_interface.rb b/app/graphql/types/user_interface.rb
index 5357f2f8e66..9e5f6810aca 100644
--- a/app/graphql/types/user_interface.rb
+++ b/app/graphql/types/user_interface.rb
@@ -197,6 +197,17 @@ module Types
null: true,
description: 'Timestamp of when the user was created.'
+ field :pronouns,
+ type: ::GraphQL::Types::String,
+ null: true,
+ description: 'Pronouns of the user.'
+
+ field :ide,
+ type: Types::IdeType,
+ null: true,
+ description: 'IDE settings.',
+ method: :itself
+
definition_methods do
def resolve_type(object, context)
# in the absence of other information, we cannot tell - just default to