-
Notifications
You must be signed in to change notification settings - Fork 90
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
fix: trailing comma not allowed in ruleset #634
fix: trailing comma not allowed in ruleset #634
Conversation
*Issue #, if available:* smithy-lang#633 *Description of changes:* This will generate a valid TypeScript file for `src/endpoint/ruleset.ts`.
b9fa503
to
ccbb330
Compare
@jvschneid , could this be approved and merged, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this comment to the issue. But looking at the code and your diff here, I can see that it would generate ,
and is likely a prettify step that's fixing it in AWS SDK. To showcase that more directly, and for adding some missing testing here, can we add a test that would be broken before your change and fixed with this.
...in/java/software/amazon/smithy/typescript/codegen/integration/AddDefaultsModeDependency.java
Outdated
Show resolved
Hide resolved
e7678fd
to
ccbb330
Compare
Thanks @eduardomourar! I merged your PR as I didn't want to hold up the fix and was going to work on adding tests later. Thanks for adding them :) |
Issue #, if available:
#633
Description of changes:
This will generate a valid TypeScript file for
src/endpoint/ruleset.ts
.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.