Skip to content

Commit

Permalink
Fix circe int
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed Jul 19, 2024
1 parent ee294d4 commit 283e316
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import com.geirolz.secret.Secret
import io.circe.{Decoder, Encoder}

export com.geirolz.secret.circe.given_Decoder_Secret
export com.geirolz.secret.circe.given_Decoder_OneShotSecret
export com.geirolz.secret.circe.given_Decoder_OneShot

given [S[X] <: SecretApi[X], T]: Encoder[S[T]] =
Encoder.encodeString.contramap(_.hashed)

0 comments on commit 283e316

Please sign in to comment.