Skip to content

Use Array shorthand - Type[] instead of Array<Type> #168

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

Merged
merged 5 commits into from
May 1, 2020

Conversation

trivikr
Copy link
Contributor

@trivikr trivikr commented Apr 30, 2020

Issue #, if available:
Refs: aws/aws-sdk-js-v3#1126

Description of changes:
Use Array shorthand - Type[] instead of Array<Type>

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr
Copy link
Contributor Author

trivikr commented Apr 30, 2020

CodeGen PR: aws/aws-sdk-js-v3#1127

Copy link
Contributor

@kstich kstich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a few tests that don't enforce the <> syntax, but use it when building test symbols. Should probably update those too for clarity.

@trivikr
Copy link
Contributor Author

trivikr commented May 1, 2020

Looks like there's a few tests that don't enforce the <> syntax, but use it when building test symbols. Should probably update those too for clarity.

Which are these specific tests? Code below:
https://github.com/awslabs/smithy-typescript/blob/3a73fba471f5a77328544b67c4dda46c836c7e3d/smithy-typescript-codegen/src/test/java/software/amazon/smithy/typescript/codegen/SymbolProviderTest.java

@trivikr
Copy link
Contributor Author

trivikr commented May 1, 2020

Updated tests which doesn't enforce <> syntax in e7217a5

Copy link
Contributor

@kstich kstich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good from the Java side.

@kstich kstich requested a review from AllanZhengYP May 1, 2020 19:20
@trivikr
Copy link
Contributor Author

trivikr commented May 1, 2020

Merging as Allan has already approved CodeGen on JavaScript side in aws/aws-sdk-js-v3#1127 (review)

@trivikr trivikr merged commit 840ba11 into smithy-lang:master May 1, 2020
@trivikr trivikr deleted the array-shorthand branch May 1, 2020 19:23
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
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