Closed seporterfield closed 3 months ago
Blocking #4
Can you set
creationDate
& lastActivityDate
in the backendtags
as not required postType
as string "argument"
| "rebuttal"
| "comment
" etc... Everything sounds splendid 👍
I've updated the models but didn't do tests
hmm we shouldn't need to update the models at all for this. Is something missing? Arguments fit cozily inside the posts table.
What needs changing is how the backend presents posts with id 1 (arguments). That means a new ViewSet.
PR #217
Create an API ViewSet that gets/creates/etc. arguments.