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

Remove the default bound from Packable::Visitor #76

Conversation

DaughterOfMars
Copy link

@DaughterOfMars DaughterOfMars commented Feb 7, 2024

Description

This PR removes the Default bound from the Packable::Visitor. As a consequence, the visitor must be optional in the trait. Users can now check whether the visitor is Some to validate their data, so the const VERIFY generic is no longer useful, thus it has been removed.

Copy link
Member

@thibault-martinez thibault-martinez left a comment

Choose a reason for hiding this comment

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

Tests are failing

@thibault-martinez thibault-martinez merged commit 42f76ea into iotaledger:main Feb 9, 2024
13 of 15 checks passed
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.

None yet

3 participants