Skip to content

Conversation

mullermp
Copy link
Contributor

@mullermp mullermp commented Sep 5, 2025

When building the AWS models, there were some issues with the generated code. This PR includes a few various fixes:

  1. (possibly temporary) Remove the enum type definitions - they cause issues because of reserved words. Some enums are named as "END" which is a ruby keyword.
  2. Use root namespaces for ::Smithy because there is a shape called Smithy in a service model.
  3. Fix paginator inheritance generation - merge the traits then check if the merged trait is empty. Added test cases for this.
  4. Use location name camelcased for union type generation - it was not correct using the camel case of the already snake cased name because of acryonyms. (example: graphQL should be :graph_ql and GraphQL and not :graph_ql and GraphQl.

@mullermp mullermp merged commit 4267bba into decaf Sep 5, 2025
20 checks passed
@mullermp mullermp deleted the decaf-fixes branch September 5, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants