Skip to content

Commit 3070266

Browse files
authored
Use WithParentRelationship to nest resources (#585)
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com>
1 parent 39ae625 commit 3070266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/SqlProjectBuilderExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ internal static IResourceBuilder<TResource> InternalWithReference<TResource>(thi
192192
builder.ApplicationBuilder.Services.TryAddSingleton<IDacpacDeployer, DacpacDeployer>();
193193
builder.ApplicationBuilder.Services.TryAddSingleton<SqlProjectPublishService>();
194194

195-
builder.WithRelationship(target.Resource, "Reference");
195+
builder.WithParentRelationship(target.Resource);
196196

197197
if (target.Resource is SqlServerDatabaseResource)
198198
{

0 commit comments

Comments
 (0)