Skip to content
Snippets Groups Projects

Expose userAchievements count via GraphQL

What does this MR do and why?

Expose userAchievements count via GraphQL

Changelog: added

Screenshots or screen recordings

image

How to set up and validate locally

Hopefully your db is already seeded with some achievements :fingers_crossed:

Run the following from http://gdk.test:3000/-/graphql-explorer

query {
  currentUser {
    userAchievements {
      count
      nodes {
        achievement {
          name
          userAchievements {
            count
          }
        }
      }
    }
  }
}

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading