smithy-lang / smithy-python

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

Add read_optional method to deserializers #272

Closed JordonPhillips closed 2 months ago

JordonPhillips commented 2 months ago

This adds a method to deserializers to read nulllable values from the source. This is primarily useful for sparse lists and maps.

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