graphql
So I have thumbnail images stored as binaries that I want to expose via graphql as base 64 encoded strings. I have set a default read action with
Versions are a little behind, but I've checked the commit logs for changes in these areas and can't see anything:
Calc is as follows:
prepare build(load: [:thumbnail_raw, :thumbnail]) where thumbnail_raw is the binary field in the db and thumbnail is a calculated field. I also define the load callback in the calculation to ensure :thumbnail_raw is loaded before the encoding happens in the body of the calc - i.e. there are two places where I force :thumbnail_raw to be loaded. The calc works fine everywhere else, but returns nil when access via graphql. I have IO.inspected the records sent to the calculation and the key I have asked to be loaded isn't loaded.Versions are a little behind, but I've checked the commit logs for changes in these areas and can't see anything:
Calc is as follows:
