Skip to content

Make Links optional#162

Merged
natlibfi-kaisa merged 1 commit intomainfrom
Fix-Make-links-optional-in-loan-status-doc
Jun 9, 2025
Merged

Make Links optional#162
natlibfi-kaisa merged 1 commit intomainfrom
Fix-Make-links-optional-in-loan-status-doc

Conversation

@natlibfi-kaisa
Copy link
Copy Markdown
Contributor

Description

Make Links an optional field in Loan Status Document.

Motivation and Context

Missing Links field caused a validation error when getting ODL loan notification requests. It should be a MUST field according to https://readium.org/lcp-specs/releases/lsd/latest.html#25-links but make it optional for now.

How Has This Been Tested?

Can't really be tested locally, only in our test environment.

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • Transifex translators have been notified. N/A

Links field turned out to be missing when getting a request for ODL loan notifications. Make it optional for now even though it should be a required field.
@natlibfi-kaisa natlibfi-kaisa marked this pull request as ready for review June 9, 2025 07:40
@natlibfi-kaisa natlibfi-kaisa requested a review from a team as a code owner June 9, 2025 07:40
Copy link
Copy Markdown
Contributor

@natlibfi-psams natlibfi-psams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK for now.

@natlibfi-kaisa natlibfi-kaisa merged commit 7d23660 into main Jun 9, 2025
24 checks passed
@natlibfi-kaisa natlibfi-kaisa deleted the Fix-Make-links-optional-in-loan-status-doc branch June 9, 2025 08:20
natlibfi-psams pushed a commit that referenced this pull request Jun 17, 2025
Links field turned out to be missing when getting a request for ODL loan notifications. Make it optional for now even though it should be a required field.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants