Skip to content

Commit a2efa83

Browse files
committed
Use WithParentRelationship to nest resources
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com>
1 parent bfd6212 commit a2efa83

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)