You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to fully support articles we need to implement a POST article comments for slug,
according to following OpenAPI Spec.
post:
tags:
- Commentssummary: Create a comment for an articledescription: Create a comment for an article. Auth is requiredoperationId: CreateArticleCommentparameters:
- name: slugin: pathdescription: Slug of the article that you want to create a comment forrequired: trueschema:
type: stringrequestBody:
$ref: '#/components/requestBodies/NewCommentRequest'responses:
'200':
$ref: '#/components/responses/SingleCommentResponse''401':
$ref: '#/components/responses/Unauthorized''422':
$ref: '#/components/responses/GenericError'security:
- Token: []x-codegen-request-body-name: comment
Implement insertCommentForArticleSlug in ArticlePersistence by adding the corresponding SQL to SqlDelight
Create articles.kt in routes if does not exist, implement the POST route using ArticlePersistence
Add test that verifies the behavior works
Please assign yourself to this ticket before starting, and if you run into any issues please raise a PR so I can provide help and support directly in the code.
Thank you in advance for your interest in the project! Happy hacktoberfest!
The text was updated successfully, but these errors were encountered:
Hey @nomisRev
Thank you for assigning me to this task. Unfortunately, I am currently facing some issues that prevent me from working on side projects. I estimate that I will be able to work on this feature in the next couple of months.
Is that okay?
In order to fully support articles we need to implement a POST article comments for slug,
according to following OpenAPI Spec.
insertCommentForArticleSlug
inArticlePersistence
by adding the corresponding SQL to SqlDelightarticles.kt
in routes if does not exist, implement the POST route usingArticlePersistence
Please assign yourself to this ticket before starting, and if you run into any issues please raise a PR so I can provide help and support directly in the code.
Thank you in advance for your interest in the project! Happy hacktoberfest!
The text was updated successfully, but these errors were encountered: