aws-sdk-for-zig/codegen
Emil Lerch dfa0be60b9
Some checks failed
continuous-integration/drone/push Build is failing
update code generation without containing struct
Instead we will rely here on the implicit struct provided by the file
itself. This means that when the service_manifest.zig import is
assigned, we don't end up with a construct like "manifest.sts.sts" to
get to the sts service. This simplifies greatly the way that
servicemodel.zig needs to behave.

One down side, however, is that the structure does not seem
accessible with the current zig language, making metaInfo unable
to access itself as it did before. Or maybe it can, I just can't find
it. So, this change also adds a new "service_metadata" public constant
with the same declarations being published at the file level, and
that is the new return from the metaInfo function. Our aws.zig
only really needs the action and that metadata, so we're ok with that
even if there is some duplication (we could codegen pointers over, and
maybe should to save a little bit of space).
2021-06-30 13:40:20 -07:00
..
models address unused variable in generated metaInfo function 2021-06-30 09:12:34 -07:00
src update code generation without containing struct 2021-06-30 13:40:20 -07:00
build.zig extract smithy to separate package 2021-06-30 09:05:21 -07:00
test.json move codegen out of src - we will handle differently 2021-06-29 17:10:01 -07:00