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

Further document VerificationError types, turn them into records #117

Merged
merged 4 commits into from
Jan 31, 2022

Conversation

ErinvanderVeen
Copy link
Contributor

@ErinvanderVeen ErinvanderVeen commented Jan 26, 2022

Expand documentation of the VerificationErrors produced by the different
attestation statement formats, and turn any of them with an arity higher than 2
into a record. This allows for per-field documentation. Most errors were also
renamed to be more consistent and the VerificationError-prefix was dropped
where present. Patternmatching on specific errors wherever used must be
changed to accomodate this change. Additionally, missing documentation for the
arguments of the lookupAttestationStatementFormat function was added.

With this commit all arguments of functions with 2 or more arguments that are
exported via Crypto.WebAuthn are documented.
This allows documentation of the individual fields.
ErinvanderVeen added a commit that referenced this pull request Jan 26, 2022
@ErinvanderVeen ErinvanderVeen marked this pull request as ready for review January 26, 2022 13:09
@infinisil infinisil force-pushed the function-argument-documentation branch from 1b7b31b to 851c78d Compare January 31, 2022 11:20
@infinisil infinisil merged commit 9cc07e0 into master Jan 31, 2022
@infinisil infinisil deleted the function-argument-documentation branch January 31, 2022 11:38
ErinvanderVeen added a commit that referenced this pull request Feb 1, 2022
ErinvanderVeen added a commit that referenced this pull request Feb 1, 2022
ErinvanderVeen added a commit that referenced this pull request Feb 1, 2022
ErinvanderVeen added a commit that referenced this pull request Feb 2, 2022
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