Skip to content

Added possibility to sort todos from GraphQL

What does this MR do and why?

Related to the todo page migration to Vue: !147301

This MR adds the possibility to sort todos from GraphQL.

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

N.A.

How to set up and validate locally

Run a GraphQL query similar to the following, changing the sort parameter value, and make sure the sorting it correct 🙂

query {
  currentUser {
    todos(sort: CREATED_ASC) {
      nodes {
        id
      }
    }
  }
}

Merge request reports