Skip to content

Deserialisation fixes - #655

Merged
donaldgray merged 4 commits into
developfrom
feature/bump_iiifnet
Aug 27, 2026
Merged

Deserialisation fixes#655
donaldgray merged 4 commits into
developfrom
feature/bump_iiifnet

Conversation

@donaldgray

@donaldgray donaldgray commented Aug 24, 2026

Copy link
Copy Markdown
Member

What does this change?

Latest patch version, bugfixes around deserialisation. See https://github.com/digirati-co-uk/iiif-net/releases/tag/v0.4.5

Fixes #579 - validates that a valid "type" value is present in payloads for flat requests. This had been done in for hierarchical requests as part of #641 but didn't cover all endpoints:

  • Added a 'specialist' JsonPropertyReader method that checks for known types using bool Try..(out prop) format.
  • Moved UnrecognisedTypeProblem to ControllerBaseX to allow sharing
  • Add check in Manifest and Collection controllers.

Latest patch version, bugfixes around deserialisation
@donaldgray
donaldgray requested a review from a team as a code owner August 24, 2026 15:52
Refactor existing callsites that used the generic JsonPropertyReader to
use new, targetted method
@donaldgray donaldgray changed the title Update iiif-net nuget Deserialisation fixes Aug 25, 2026
@donaldgray
donaldgray merged commit 1b2533d into develop Aug 27, 2026
4 checks passed
@donaldgray
donaldgray deleted the feature/bump_iiifnet branch August 27, 2026 11:13
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.

Manifest/Collection payloads with missing "type": "XX" return 500

2 participants