Add lastActivityOn field to GraphQL Member type
What does this MR do and why?
In order to provide the data necessary for the page that lists the data for a custom role we need additional fields to be exposed via the GraphQL API.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Navigate to GraphQL Explorer http://gdk.test:3000/-/graphql-explorer
- Enter the following query:
query findUsers($active:Boolean!) { users(active: $active) { nodes { groupMemberships{ nodes{ accessLevel { stringValue } lastActivityOn } } } } }
- Enter the following variables:
{ "active": true }
- Execute the query
Edited by mo khan