for info, digging into shape-usage
for splitting spec checks and conforming
@cgrand, can you remember if you were generating req
ser
resp
deser
specs ? gen-operation not working at my place
so, from what I understand
1) remove all conforming from spec generation
2) keep spec generation as it is
3) on fn
generation, add ser-*
which are protocol dependent BUT platform independent (replace conforms)
4) fn
make the request protocol and platforrm dependent
5) resp deserialization
I don’t see how the req-*
resp*` are working as we only need to serialize once and then make the request based on the protocol, not the fn
I don’t get why you are building the vars =>
vars (map (comp symbol portkey.aws/dashed)
(concat (map #(str "ser-" %) inputs) (map #(str "req<-" %) input-roots)
(map #(str "deser-" %) outputs) (map #(str "resp->" %) output-roots)))
req
ser
resp
deser
are not specs but functions, and they are not generated at the moment. Vars are created beforehand to be declared (because cycles may happen).