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

Refactor tentative device registration to use Result type internally #2221

Merged

Conversation

frederikrothenberger
Copy link
Member

@frederikrothenberger frederikrothenberger commented Jan 22, 2024

The tentative device registration uses the flattened success / error enum internally. This causes issues with further changes that we want to make, such as getting rid of internal trap calls for the API v2.

This is the first part of a bigger refactoring with the goal to remove the trap calls from authenticated_anchor_operation.

The tentative device registration uses the flattened success / error enum
internally. This causes issues with further changes that we want to make,
such as getting rid of internal `trap` calls for the API v2.
Copy link
Collaborator

@przydatek przydatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@frederikrothenberger frederikrothenberger added this pull request to the merge queue Jan 22, 2024
Merged via the queue into main with commit 30d3816 Jan 22, 2024
57 checks passed
@frederikrothenberger frederikrothenberger deleted the frederik/refactor-tentative-device-errors branch January 22, 2024 14:25
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