add Vec<JournalIssue> support #5

Closed
opened 2026-06-01 13:03:20 +00:00 by chartgerink · 0 comments
Owner

Currently there is Option<JournalIssue> which is a singular component of the Journal.

pub journal_issue: Option<JournalIssue>,

This needs to be upgraded to Vec<JournalIssue> so that we can add multiple journal issues in one go, which is necessary for bulk updates 👍

In addition, needs to upgrade the add_issue method -

Line 102 in caf1941
pub fn add_issue(&mut self, issue: JournalIssue) {

Currently there is `Option<JournalIssue>` which is a singular component of the Journal. https://git.libscie.org/researchequals/crossref-xml/src/commit/caf19417db0a01f8b77c6392bb25acd97e612814/src/journal/mod.rs#L16 This needs to be upgraded to `Vec<JournalIssue>` so that we can add multiple journal issues in one go, which is necessary for bulk updates 👍 In addition, needs to upgrade the `add_issue` method - https://git.libscie.org/researchequals/crossref-xml/src/commit/caf19417db0a01f8b77c6392bb25acd97e612814/src/lib.rs#L102
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
researchequals/crossref-xml#5
No description provided.