Skip to content

Commit

Permalink
Action sbt scalafmtAll
Browse files Browse the repository at this point in the history
  • Loading branch information
takapi327 committed Dec 31, 2024
1 parent 53d980e commit e215131
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/ldbc-dsl/src/main/scala/ldbc/dsl/Parameter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ object Parameter:
case Encoder.Encoded.Success(list) =>
list match
case head :: Nil => Dynamic.Success(head)
case _ => Dynamic.Failure(List("Multiple values are not allowed"))
case _ => Dynamic.Failure(List("Multiple values are not allowed"))
case Encoder.Encoded.Failure(errors) => Dynamic.Failure(errors.toList)
4 changes: 3 additions & 1 deletion module/ldbc-schema/src/main/scala/ldbc/schema/Table.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ trait Table[T](val $name: String) extends AbstractTable[T]:
protected final def column[A](name: String, dataType: DataType[A])(using codec: Codec[A]): Column[A] =
ColumnImpl[A](name, Some(s"${ $name }.$name"), codec.asDecoder, codec.asEncoder, Some(dataType), List.empty)

protected final def column[A](name: String, dataType: DataType[A], attributes: Attribute[A]*)(using codec: Codec[A]): Column[A] =
protected final def column[A](name: String, dataType: DataType[A], attributes: Attribute[A]*)(using
codec: Codec[A]
): Column[A] =
ColumnImpl[A](name, Some(s"${ $name }.$name"), codec.asDecoder, codec.asEncoder, Some(dataType), attributes.toList)

/**
Expand Down

0 comments on commit e215131

Please sign in to comment.