Skip to content

Extract claims to isolated and tested classes#605

Merged
anakinj merged 9 commits intojwt:mainfrom
anakinj:extract-claims
Aug 4, 2024
Merged

Extract claims to isolated and tested classes#605
anakinj merged 9 commits intojwt:mainfrom
anakinj:extract-claims

Conversation

@anakinj
Copy link
Copy Markdown
Member

@anakinj anakinj commented Jul 22, 2024

Description

This PR is a refactoring for the claims, extracting each claim into it's own class. No functional changes, this is to prepare doing changes to the verification logic in the next major release.

Also easier to write isolated tests for the separate validators and extending claims validation.

Checklist

Before the PR can be merged be sure the following are checked:

  • There are tests for the fix or feature added/changed
  • A description of the changes and a reference to the PR has been added to CHANGELOG.md. More details in the CONTRIBUTING.md

@anakinj anakinj changed the title Extract claims Extract claims to isolated and teststed classes Jul 22, 2024
@anakinj anakinj changed the title Extract claims to isolated and teststed classes Extract claims to isolated and tested classes Jul 22, 2024
@anakinj anakinj marked this pull request as ready for review August 1, 2024 19:41
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.

2 participants