Fork me on GitHub
#reitit
<
2019-07-31
>
ikitommi08:07:27

@jmv305 you need to provide transformer context (json, string, ...) for the decode, try: (st/decode ::bool "yes" st/string-transformer)

jmv15:07:54

ah ok i will try that. i suppose i will need to make a custom transformer context to handle my domain?

jmv15:07:05

thanks for pointing me in the right direction

ikitommi19:07:38

if you are transforming from json or string, you can use the existing transformers. If you have something different, like Avro<->EDN, you need to create both a new transformer and mappings to it from all known types. Hope this helps