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

Unify HashedCertificateValue with Hashed<T> #2858

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

deuszx
Copy link
Contributor

@deuszx deuszx commented Nov 11, 2024

Motivation

In the process of adding separate types to discriminate between various types of certificate we have, a new generic type was introduct - Hashed<T>. That type had the same structure as already-existing HashedCertificateValue but it was generic of a value type it holds. This duplication was unnecessary.

Proposal

Replace a struct HashedCertificateValue with a type alias type HashedCertificateValue = Hashed<CertificateValue>

Test Plan

CI should catch any regressions.

Release Plan

  • Nothing to do / These changes follow the usual release cycle.

Links

Closes #2842

@deuszx deuszx requested review from afck, jvff and ma2bd November 11, 2024 13:49
@deuszx deuszx marked this pull request as ready for review November 11, 2024 13:49
Base automatically changed from timeout-certificate to main November 11, 2024 19:22
@deuszx deuszx merged commit b504879 into main Nov 11, 2024
21 checks passed
@deuszx deuszx deleted the unify-hashed-types branch November 11, 2024 20:04
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.

Unify the hew Hashed<T> type with HashedCertificateValue
2 participants