Skip to content

Conversation

@mielvds
Copy link
Collaborator

@mielvds mielvds commented Dec 16, 2025

This PR moves the canonicalization algorithms, the nquads parsing and the IdentifierIssuer in a separate modules. This is the first step of eventually moving the canonicalization algorithms out of this library.

Because it no longer makes sense that an nquad parser or canonicalization algorithm raises JSON-LD errors, they have their own neutral UnknownFormatError and ParserError. Since the cause attribute on JsonLdError is redundant, this refactored to using the built-in __cause__ and exception chaining

@mielvds mielvds changed the base branch from master to code-improvements December 16, 2025 12:53
@mielvds mielvds force-pushed the code-improvements branch 2 times, most recently from 9fd53c5 to 013c3ad Compare December 17, 2025 08:17
@mielvds mielvds marked this pull request as ready for review December 17, 2025 10:30
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