Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ Feature ] Return note parents with note #275

Closed
3 tasks done
e11sy opened this issue Aug 8, 2024 · 0 comments · Fixed by #276
Closed
3 tasks done

[ Feature ] Return note parents with note #275

e11sy opened this issue Aug 8, 2024 · 0 comments · Fixed by #276
Assignees

Comments

@e11sy
Copy link
Contributor

e11sy commented Aug 8, 2024

This issue is related to web issue

Problem

We need to return note parents structure with note

Solution

  • Make method that will resursively form note parents structure
    note that the user should see only those parent notes to which he has access
    we should return array of parent notes:
NoteParents : 
[
  {
    noteId: Note['NotePublicId'],
    content: Note['content']
  }
]

Last note should contain user in it's team

  • Update schema for that is used in GET /note/:noteId request
  • Write tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants