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

Introduce wrapping objects for Options-methods #562

Merged
merged 4 commits into from
Nov 18, 2024
Merged

Introduce wrapping objects for Options-methods #562

merged 4 commits into from
Nov 18, 2024

Conversation

abergs
Copy link
Collaborator

@abergs abergs commented Oct 29, 2024

This PR aligns with #556 and resolves #560.

In order to let the API surface grow (e.g. introducing Hints, allow RPs to select algo's to support, etc) we want to move towards this more flexible approach.

The main downside I see is that it's harder for devs to know which arguments are the main arguments without reading docs. Not sure how to best adress that, since most arguments used are not required.

@abergs abergs modified the milestones: Version 5, Version 4 Oct 29, 2024
@abergs
Copy link
Collaborator Author

abergs commented Oct 29, 2024

You might want to take a peak here too @iamcarbon

@codecov-commenter
Copy link

codecov-commenter commented Oct 29, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 74.45%. Comparing base (b2e7c15) to head (a2e7efe).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
Src/Fido2/RequestNewCredentialParams.cs 0.00% 6 Missing ⚠️
Src/Fido2/Fido2.cs 0.00% 4 Missing ⚠️
Src/Fido2/GetAssertionOptionsParams.cs 0.00% 3 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #562      +/-   ##
==========================================
- Coverage   74.72%   74.45%   -0.28%     
==========================================
  Files         103      105       +2     
  Lines        2730     2740      +10     
  Branches      464      464              
==========================================
  Hits         2040     2040              
- Misses        581      591      +10     
  Partials      109      109              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@abergs
Copy link
Collaborator Author

abergs commented Nov 12, 2024

Will merge this in the next day, but I still welcome opinions if you have any @iamcarbon

@abergs abergs merged commit 1c003bf into master Nov 18, 2024
11 checks passed
@abergs abergs deleted the wrap-opts branch November 18, 2024 16:14
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.

Wrap arguments to GetAssertionOptions and RequestNewCredential into Params-classes
2 participants