We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bc6857 commit 965e6f5Copy full SHA for 965e6f5
1 file changed
integrity/builder.go
@@ -19,7 +19,7 @@ type TypedBuilder[T any] struct {
19
hashers []hasher.Hasher
20
signers []crypto.Signer
21
verifiers []crypto.Verifier
22
- marshaller marshaller.TypedYamlMarshaller[T]
+ marshaller marshaller.TypedMarshaller[T]
23
24
prefix string
25
namerFunc NamerConstructor
@@ -90,7 +90,7 @@ func (s TypedBuilder[T]) WithVerifier(verifier crypto.Verifier) TypedBuilder[T]
90
}
91
92
// WithMarshaller sets the marshaller for the builder.
93
-func (s TypedBuilder[T]) WithMarshaller(marshaller marshaller.TypedYamlMarshaller[T]) TypedBuilder[T] {
+func (s TypedBuilder[T]) WithMarshaller(marshaller marshaller.TypedMarshaller[T]) TypedBuilder[T] {
94
out := s.copy()
95
96
out.marshaller = marshaller
0 commit comments