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

feat: comments of a discussion #84

Closed
mabdh opened this issue Mar 1, 2022 · 0 comments · Fixed by #91
Closed

feat: comments of a discussion #84

mabdh opened this issue Mar 1, 2022 · 0 comments · Fixed by #91
Assignees
Labels
enhancement New feature or request

Comments

@mabdh
Copy link
Member

mabdh commented Mar 1, 2022

Is your feature request related to a problem? Please describe.
Comments is needed in discussion feature described in #47

Describe the solution you'd like

  • Create comments API
  • Add comments repository

Response Schema

{
  "id": 1,
  "body": "body here",
  "owner": {
		"id" : "1234-5678",
            "Email": "user@email.com"  
  }, // User
  "created_at" : timestamp,
  "updated_at": timestamp	
}

DB Schema

Column Name Type Example
id (PK) serial 1
discussion_id (FK) serial 1
body text This body could be written in markdown format
owner uuid 1234-5678-9123
created_at timestamp  
updated_at timestamp  
@mabdh mabdh added the enhancement New feature or request label Mar 1, 2022
@mabdh mabdh linked a pull request Mar 11, 2022 that will close this issue
@mabdh mabdh self-assigned this Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant