smithy-lang / smithy-python

Smithy code generators and core modules for Python (in development)
Apache License 2.0
47 stars 10 forks source link

Generate serializer implementations #260

Closed JordonPhillips closed 2 months ago

JordonPhillips commented 3 months ago

This adds generated implementations for structures and unions to for the SerializeableStruct protocol.

Currently all http bound members are excluded so that the JSON codec can be integrated relatively quickly. They'll be added back in later when full protocol support exists.

I've also started putting the "Generator" classes into their own package to keep things tidy. Eventually the others will be moved into it.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

JordonPhillips commented 3 months ago

Closing this while i re-work it to remove duplication of list / map blocks