Open dgatto opened 3 years ago
protests/announcements
[ ] Announcements will be added on to the protest schema as such:
Announcements
const schema = new Schema<Protest>({ _id: Schema.Types.ObjectId, ... announcements: [Announcement] });
We'll likely want to add pagination to the announcements at some point, but it isn't necessary for this yet.
protests/announcements
which returns all announcements associated to a protest.[ ]
Announcements
will be added on to the protest schema as such: