Fork me on GitHub
#portkey
<
2017-08-16
>
cgrand09:08:49

So donew which is a quick macro to turn static maps into direct non-reflective calls (the only reflection occuring at macroexpansion time).

cgrand09:08:32

Given that this code is far from being hot (it’s dwarfed by analysis wchi itslef is nothing compared to upload to AWS), we could remove the macro and do everything reflectively.

viesti09:08:54

righ, since now if one needs to pass non-static maps, this leads to something like (eval as-doto* (assoc {} :param :value)), which is a bit hacky

cgrand10:08:10

don’t forget that’s just some internal stuff, never meant to be exposed to the user

cgrand10:08:01

so using plain interop is also a possibility

cgrand10:08:44

and don’t forget that we are jumoing through static hoops to create a json payload in the end

cgrand10:08:11

at some point it may be simpler to skip the sdk

viesti10:08:49

same thoughts here 🙂

cgrand11:08:21

in the near term upload time will be a concern