annotation-tool icon indicating copy to clipboard operation
annotation-tool copied to clipboard

AnnotationDTO: `content` Column

Open luniki opened this issue 4 years ago • 3 comments

  • Please add a column named content to the AnnotationDTO. It contains a JSON encoded String.
  • Add this column in AnnotationDTO#toJSON.

In the backend this column should be handled as a blackbox. The backend gets a string out of a request, stores it in the database, retrieves it from the database.

luniki avatar May 06 '20 08:05 luniki

content should be handled the same way as tags and settings. Both fields contain JSON encoded in a string.

luniki avatar May 07 '20 04:05 luniki

I would even argue that if we go this route, we should just merge settings in there, or rather into the appropriate subobjects of that. :thinking:

The same could be said about tags, but seeing that this is never used anywhere, I would rather argue to get rid of tags. :sweat_smile:

Opinions?

JulianKniephoff avatar May 07 '20 06:05 JulianKniephoff

see #377

luniki avatar Jun 25 '20 07:06 luniki