-
- Downloads
Allow custom writables in Instantiator (#3104)
`Instantiator` currently renders only static data.
This PR allows it to customize this behavior to allow non-static data
(e.g. data taken from other structs).
----
_By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice._
---------
Signed-off-by:
Daniele Ahmed <ahmeddan@amazon.de>
Showing
- codegen-core/src/main/kotlin/software/amazon/smithy/rust/codegen/core/smithy/generators/Instantiator.kt 141 additions, 103 deletions...mithy/rust/codegen/core/smithy/generators/Instantiator.kt
- codegen-server/src/main/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ServerInstantiator.kt 11 additions, 9 deletions...st/codegen/server/smithy/generators/ServerInstantiator.kt
- codegen-server/src/test/kotlin/software/amazon/smithy/rust/codegen/server/smithy/generators/ServerInstantiatorTest.kt 92 additions, 0 deletions...odegen/server/smithy/generators/ServerInstantiatorTest.kt
Please register or sign in to comment