Skip to content

Commit

Permalink
scalafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Eliat-Eliat committed Jun 13, 2024
1 parent 7f56a46 commit c492bda
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,9 @@ object InstanceDefinition {
t: TypePropertyDefinition
): Either[DecodingFailure, InstancePropertyValue] =
t.`type` match {
case PropertyType.DirectNodeRelationProperty(_, _, Some(false)) | PropertyType.DirectNodeRelationProperty(_, _, None) =>
propValue
case PropertyType.DirectNodeRelationProperty(_, _, Some(false)) |
PropertyType.DirectNodeRelationProperty(_, _, None) =>
propValue
.as[Option[DirectRelationReference]]
.map(InstancePropertyValue.ViewDirectNodeRelation.apply)
case t if t.isList => toInstancePropertyTypeOfList(propValue, t)
Expand Down

0 comments on commit c492bda

Please sign in to comment.