Add Note to Todo GraphQL Type
What does this MR do and why?
This adds the note to the GraphQL Type for Todos
It is only present if the todo was generated by a note (directly_addressed
or mentioned
), in the other cases, the note field will have the value null
Rest API MR: !89299 (closed)
Screenshots or screen recordings
How to set up and validate locally
- Checkout the branch
- Start GDK
- Log in to GDK GitLab
- make sure you have at least one todo with type
directly_adressed
ormentioned
- visit http://127.0.0.1:3000/-/graphql-explorer (or whatever host you have in your setup)
-
query { currentUser { todos { nodes { action note { body # Include any other fields you are interested in verifying __typename } } } } }
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 Niklas van Schrick