We often enforce things at a higher level. In this case post actions should all be created through the PostActionCreator service object.
eviltrout
(Robin Ward)
5
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Getting who liked a post from the API | 7 | 3079 | 2022 年5 月 18 日 | |
| How can you like a specific post through the API? | 3 | 1038 | 2022 年4 月 20 日 | |
| Posting a new topic via API | 7 | 4014 | 2025 年1 月 29 日 | |
| Validation error: unique_post_validator() doesn't know who the acting user is | 3 | 864 | 2016 年9 月 16 日 | |
| Getting 403 for Unlike a post by the user | 5 | 1214 | 2019 年6 月 19 日 |