Skip to content

Commit 90d6ce5

Browse files
authored
Fix interaction between NormalResult and shared namespace (#790)
One-line fix to Rust code generation when using both CLI --shared option and Result co-type
1 parent e83203d commit 90d6ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/src/Azure.Iot.Operations.ProtocolCompiler/EnvoyGenerator/EnvoyTransformFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ private static IEnumerable<ITemplateTransform> GetCommandTransforms(string langu
320320

321321
if (normalResultSchema != null)
322322
{
323-
yield return new RustSerialization(respSchemaNamespace ?? genNamespace, genFormat, normalResultSchema, workingPath);
323+
yield return new RustSerialization(normalResultNamespace ?? genNamespace, genFormat, normalResultSchema, workingPath);
324324
}
325325

326326
break;

0 commit comments

Comments
 (0)