Verbatim database reading
Created by: ederag
Prior to this PR facts read from the database were serialized and parsed again. With this PR facts are read verbatim from the database. This is expected to partially solve issue #423 (closed), and clarifies the code.
activity
, category
and description
are now properties, with setters to sanitize them.
They are now guaranteed to be strings (empty meaning none).
Breaking change:
Fact(str)
has to be replaced by Fact.parse(str)