Skip to content

Commit

Permalink
update TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
BalduinLandolt committed Jul 17, 2024
1 parent e40eeec commit 0654b93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ final case class ConstructResponseUtilV2Live(
comment = valueCommentOption,
),
)
} // TODO: read information from triplestore, don't infer it
} // TODO-BL: read information from triplestore, don't infer it
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,11 +475,10 @@ final case class CreateResourceV2Handler(
valueHasCalendar = valueHasCalendar,
),
)
case TextValueContentV2(_, _, textType, valueHasLanguage, _, None, _, _, _) =>
// TODO: improve this logic now that we have the textType.
case TextValueContentV2(_, _, _, valueHasLanguage, _, None, _, _, _) =>
ZIO.succeed(UnformattedTextValueInfo(valueHasLanguage))
case tv @ TextValueContentV2(_, _, textType, valueHasLanguage, _, Some(mappingIri), _, _, _) =>
// TODO: improve this logic now that we have the textType.
// TODO-BL: improve this logic now that we have the textType.
val standoffInfo = tv
.prepareForSparqlInsert(newValueIri)
.map(standoffTag =>
Expand Down

0 comments on commit 0654b93

Please sign in to comment.