Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw error in replacer if date is invalid #371

Merged
merged 2 commits into from
Aug 31, 2023

Conversation

orhoj
Copy link
Contributor

@orhoj orhoj commented Aug 30, 2023

Purpose

Prevent an issuer from trying to add an invalid date to the wallet.

Changes

  • Throw an error in the JSON replacer if the Date is not valid.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

@orhoj orhoj merged commit fa590bc into feature/web3-id Aug 31, 2023
4 checks passed
@orhoj orhoj deleted the fail-on-invalid-date branch August 31, 2023 08:24
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