wellcomecollection / catalogue-api

:crystal_ball: The API for searching the Wellcome Collection catalogue.
https://developers.wellcomecollection.org
MIT License
4 stars 0 forks source link

rewrite countWorkTypes to use decodeJsonAgg #675

Open paul-butcher opened 1 year ago

paul-butcher commented 1 year ago

It still uses the old way. It is the only part that does, and it would allow us to delete some big chunks of code.

paul-butcher commented 10 months ago

This is possibly a bit tricky, as the source data to decode is not JSON. Either this needs to be changed so that all aggregables are JSON, or something else needs to happen.