smithy-lang / smithy

Smithy is a protocol-agnostic interface definition language and set of tools for generating clients, servers, and documentation for any programming language.
https://smithy.io
Apache License 2.0
1.7k stars 201 forks source link

Add maps and lists to directed codegen #2273

Closed JordonPhillips closed 2 months ago

JordonPhillips commented 2 months ago

This adds lists and maps to directed codegen. This is needed because when generating Python code there needs to be some data generated for lists and maps that must be placed in topological ordering as much as is possible.

While technically possible to generate that information without it being in topological ordering, the workarounds are extremely unfortunate.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.