aws-beam / aws-codegen

Code generator for AWS clients in Erlang and Elixir.
Other
53 stars 49 forks source link

Unify templates and handle protocol specific differences in code #45

Closed jfacorro closed 4 years ago

jfacorro commented 4 years ago

The rest_xml.[ex|erl].eex and rest_json.[ex|erl].eex are almost the same except for the encoding/decoding of request/response. This results in a lot of code duplication which can be reduced if they are unified.

The same applies to the query.[ex|erl].eex and json.[ex|erl].eex templates.