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

Create BadRequestError with status codes #264

Open
sandrask opened this issue Apr 26, 2020 · 0 comments
Open

Create BadRequestError with status codes #264

sandrask opened this issue Apr 26, 2020 · 0 comments
Milestone

Comments

@sandrask
Copy link
Contributor

sandrask commented Apr 26, 2020

Create status codes for everything that can go wrong with input for resolution and return BadRequestError with status code.

Resolution with did includes validation of:
did

Resolution with initial state currently includes validation of:

  • initial state parameter,
  • validation of suffix (recovery key, delta_hash, recovery commitment)
  • validation of delta (patches (public keys, services ...), update commitment
  • validation if did provided matches initial state
  • validate initial document
    ... more

#263 (comment)

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

No branches or pull requests

1 participant