Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c68b5499
Commit
c68b5499
authored
Mar 17, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update deprecation information of User.email
parent
50c9ca6d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/graphql/types/user_type.rb
app/graphql/types/user_type.rb
+1
-1
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+1
-1
No files found.
app/graphql/types/user_type.rb
View file @
c68b5499
...
...
@@ -24,7 +24,7 @@ module Types
description:
'State of the user.'
field
:email
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'User email.'
,
method: :public_email
,
deprecated:
{
reason:
'Use public_e
mail'
,
milestone:
'13.7'
}
deprecated:
{
reason:
:renamed
,
replacement:
'User.publicE
mail'
,
milestone:
'13.7'
}
field
:public_email
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
"User's public email."
field
:avatar_url
,
GraphQL
::
STRING_TYPE
,
null:
true
,
...
...
doc/api/graphql/reference/index.md
View file @
c68b5499
...
...
@@ -6494,7 +6494,7 @@ Representation of a GitLab user.
|
`avatarUrl`
|
[
`String`
](
#string
)
| URL of the user's avatar. |
|
`bot`
|
[
`Boolean!`
](
#boolean
)
| Indicates if the user is a bot. |
|
`callouts`
|
[
`UserCalloutConnection`
](
#usercalloutconnection
)
| User callouts that belong to the user. |
|
`email`
**{warning-solid}**
|
[
`String`
](
#string
)
|
**Deprecated**
in 13.7.
Use public_email
. |
|
`email`
**{warning-solid}**
|
[
`String`
](
#string
)
|
**Deprecated**
in 13.7.
This was renamed. Use:
`User.publicEmail`
. |
|
`groupCount`
|
[
`Int`
](
#int
)
| Group count for the user. Available only when feature flag
`user_group_counts`
is enabled. |
|
`groupMemberships`
|
[
`GroupMemberConnection`
](
#groupmemberconnection
)
| Group memberships of the user. |
|
`id`
|
[
`ID!`
](
#id
)
| ID of the user. |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment