-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable shapes-only codegen #373
base: develop
Are you sure you want to change the base?
Conversation
5b2ec33
to
46b6ba3
Compare
Changes look good, looks like we have a test failing with the changes though.
|
46b6ba3
to
56c766e
Compare
I refactored this after all the repo structure changes. I made it so that the new plugin is a separate package and abstracted out some of the functionality that was being done by the client's directed codegen so that it could be shared. |
This adds an alternative generation mode that only generates "data shapes".
56c766e
to
edb0659
Compare
Note that that number of added lines is scarier than reality as I had to copy over a bunch of smithy IDL files for testing. |
This adds an alternative generation mode that only generates "data shapes". It's a widely requested feature for both this code generator (I can't tell you how many DMs about this I've received) and for other Smithy generators.
These generated types could still be used in a rich way thanks to the schemas backing them - they could still be plugged into any
ShapeSerializer
orShapeDeserializer
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.