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 useSymbolWriter function #2328

Closed JordonPhillips closed 2 weeks ago

JordonPhillips commented 2 weeks ago

This adds a method to the WriterDelegator to check out a writer from a symbol. This saves on a good amount of space when writing opening files to write, for example, private helper functions that are defined as symbols attached to shape symbols via properties.


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