Skip to content

Deduplicate issuer usage #331

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

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Deduplicate issuer usage #331

wants to merge 9 commits into from

Conversation

djc
Copy link
Member

@djc djc commented Apr 22, 2025

@djc djc requested review from cpu and est31 April 22, 2025 13:07
Base automatically changed from issuer to main April 23, 2025 14:15
@djc djc marked this pull request as draft April 25, 2025 13:46
}
}

trait ToDer {
Copy link
Member

Choose a reason for hiding this comment

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

as I've said previously, I'd prefer a better name for that trait: SignDer or something like it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup. Do you think the introduction of the trait carries its weight here? I'm not totally convinced...

Copy link
Member

Choose a reason for hiding this comment

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

not really tbh. I think having consistent inherent functions is better (traits need to be imported to be used/called, and even if you add inherent functions on top, they still add complexity, which needs to be justified, and in this case i think it's not).

@cpu
Copy link
Member

cpu commented Apr 28, 2025

djc marked this pull request as draft 3 days ago

Did you want me to hold off reviewing this for now?

@djc
Copy link
Member Author

djc commented Apr 28, 2025

djc marked this pull request as draft 3 days ago

Did you want me to hold off reviewing this for now?

Yup!

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.

3 participants