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

PostRepositoryからの投稿詳細取得の改良 #20

Open
shunjikonishi opened this issue Mar 28, 2023 · 0 comments
Open

PostRepositoryからの投稿詳細取得の改良 #20

shunjikonishi opened this issue Mar 28, 2023 · 0 comments

Comments

@shunjikonishi
Copy link
Collaborator

PostRepositoryから投稿詳細を取得するメソッドの引数に includeComment boolを追加してください。
includeComment = trueが指定された場合、返り値のPostにコメント配列を含めるようにしてください。

コメント配列の順序はidの昇順とします。

改良後は投稿詳細取得のusecaseではコメント一覧も含めるようにしてください。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant