Skip to content
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

Remove unnecessary src folder prepend in useShapeWriter #551

Merged
merged 1 commit into from
May 27, 2022

Conversation

gosar
Copy link
Contributor

@gosar gosar commented May 26, 2022

The SymbolProvider(SymbolVisitor) also includes the src folder, so this is
unnecessary. Conceptually it also makes sense that the filename is responsibility of the Symbol Provider, not the Delegator.

Ran yarn generate-clients && yarn test:protocols && yarn generate-clients -s && yarn test:server-protocols locally with and there is no change to generated clients.

This is in preparation to use WriterDelegator (as part of DirectedCodegen) so that WriterDelegator.useShapeWriter can be used directly without needing to override in TypeScriptDelegator.

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

@gosar gosar requested a review from mtdowling May 26, 2022 22:12
@gosar gosar requested a review from a team as a code owner May 26, 2022 22:12
@gosar gosar requested a review from trivikr May 26, 2022 22:12
@trivikr trivikr marked this pull request as draft May 26, 2022 22:18
The SymbolProvider(SymbolVisitor) also includes the src folder, so this is
unnecessary.
@trivikr trivikr marked this pull request as ready for review May 26, 2022 23:01
@gosar gosar merged commit 5f83ba1 into smithy-lang:main May 27, 2022
@gosar gosar deleted the src-folder branch May 27, 2022 05:57
gosar added a commit to gosar/smithy-typescript that referenced this pull request Jun 2, 2022
gosar added a commit to gosar/smithy-typescript that referenced this pull request Jun 7, 2022
gosar added a commit to gosar/smithy-typescript that referenced this pull request Jun 18, 2022
gosar added a commit to gosar/smithy-typescript that referenced this pull request Jul 1, 2022
gosar added a commit to gosar/smithy-typescript that referenced this pull request Jul 1, 2022
gosar added a commit that referenced this pull request Jul 1, 2022
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.

3 participants