We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf0a857 commit cdf80faCopy full SHA for cdf80fa
src/frontend/src/content/docs/integrations/databases/mongodb/mongodb-host.mdx
@@ -86,7 +86,7 @@ var builder = DistributedApplication.CreateBuilder(args);
86
var username = builder.AddParameter("username");
87
var password = builder.AddParameter("password", secret: true);
88
89
-var mongo = builder.AddMongoDB("mongo", username, password);
+var mongo = builder.AddMongoDB("mongo", userName: username, password: password);
90
var mongodb = mongo.AddDatabase("mongodb");
91
92
var myService = builder.AddProject<Projects.ExampleProject>()
0 commit comments