UserCore - Add lastActivityOn
What does this MR do and why?
In support of #409313 (closed)
Split off from !135524 (merged)
This change exposes the key lastActivityOn
to the UserCoreType
. This key was originally only accessible from AddOnUserType
.
This is being added to support the needs of OrganizationUserType
.
Current AddOnUser
docs with lastActivityOn
: https://docs.gitlab.com/ee/api/graphql/reference/index.html#addonuser
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Access GraphQL explorer (ex.
http://127.0.0.1:3000/-/graphql-explorer
) - Query for lastActivityOn
query { user(username: "root") { lastActivityOn } }
- Ensure it returns a Date
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Zack Cuddy