You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(codegen): do not pull client versions from packageInfo
To avoid having to @ts-ignore importing packageInfo from package.json,
write the version contained in the typescript settings into the
UserAgent provider's arguments. This removes the need to postprocess
clients after they are generated.
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddUserAgentDependency.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,6 @@ public Map<String, Consumer<TypeScriptWriter>> getRuntimeConfigWriters(
Copy file name to clipboardExpand all lines: codegen/smithy-aws-typescript-codegen/src/test/java/software/amazon/smithy/aws/typescript/codegen/AddUserAgentDependencyTest.java
0 commit comments