mbari-org / annosaurus

Service for storing and retrieving video/image annotations from VARS
https://docs.mbari.org/annosaurus/
Apache License 2.0
1 stars 1 forks source link

Review all toString calls in JdbcRepository #23

Closed hohonuuli closed 9 months ago

hohonuuli commented 10 months ago

There's a number of calls in JdbcRepository like:

val ims   = annos.map(_.imagedMomentUuid.toString).distinct

This needs to be changed as almost all fields in an Annotation object are Option so toString calls will result in Option(someValue) instead of someValue

hohonuuli commented 9 months ago

I've added integration tests for Sql Server and Postgres for all JdbcRepository methods. I think we're good now.