[Koha-bugs] [Bug 32370] Provide a generic set of tools for JSON fields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 30 09:23:31 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32370
--- Comment #9 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I'm still contemplating this...
Considering
https://metacpan.org/pod/DBIx::Class::InflateColumn::Serializer::JSON as an
example to compare to.
I think I still prefer the idea of a Koha::Object::InflateField::* hierarchy if
we want something like this... to me, I think it's more elegant to outright
replace the field accessor with automatic inflation rather than add additional
accessors.. then fall back to get_column should one need the raw data.. but
perhaps just because I'm so familiar with 'the DBIC way' I'm not seeing what
we'd be losing in Koha land.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list