Skip to content

Commit

Permalink
make narrow private again
Browse files Browse the repository at this point in the history
  • Loading branch information
googley42 committed Sep 25, 2024
1 parent 9eca2ad commit 84470de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamodb/src/main/scala/zio/dynamodb/DynamoDBQuery.scala
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ object DynamoDBQuery {
* Safely narrows `a: From` to subtype type `To` and requires that there are implicit schemas in scope which
* ensure that `From` is an enum (sealed trait) and `To` is a record (case class) subtype.
*/
def narrow[From: Schema.Enum, To <: From: Schema.Record](
private[dynamodb] def narrow[From: Schema.Enum, To <: From: Schema.Record](
a: From
): Either[String, To] = {
val fromEnumSchema: Schema.Enum[From] = implicitly[Schema.Enum[From]]
Expand Down

0 comments on commit 84470de

Please sign in to comment.