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
Copy file name to clipboardExpand all lines: codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/client/FluentClientDocs.kt
Copy file name to clipboardExpand all lines: codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/generators/client/FluentClientGenerator.kt
+37-13Lines changed: 37 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -270,7 +270,7 @@ class FluentClientGenerator(
270
270
val errorType = symbolProvider.symbolForOperationError(operation)
271
271
val inputBuilderType = symbolProvider.symbolForBuilder(input)
272
272
val fnName = clientOperationFnName(operation, symbolProvider)
273
-
// Have to use fully-qualified result here or else it could conflict with an op named Result
273
+
274
274
// Have to use fully-qualified result here or else it could conflict with an op named Result
275
275
rustTemplate(
276
276
"""
@@ -310,18 +310,6 @@ class FluentClientGenerator(
310
310
self.handle.client.call(op).await
311
311
}
312
312
313
-
/// This function replaces the parameter with new one.
314
-
/// It is useful when you want to replace the existing data with de-serialized data.
315
-
/// ```compile_fail
316
-
/// let result_future = async {
317
-
/// let deserialized_parameters: $inputBuilderType = serde_json::from_str("some json data").unwrap();
0 commit comments