microsoft / microsoft/aspire

Verify behavior when calling WithReference to same target multiple times with dev tunnels

Open
#11,356 0 comments 0 reactions 0 assignees View on GitHub
area-integrations devtunnels
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

Need to verify what happens currently for following examples and update if required:

```csharp
var web = builder.AddProject("web");
var tunnel = builder.AddDevTunnel("tunnel")
.WithReference(web)
.WithReference(web); // Already called for this resource
```

```csharp
var api = builder.AddProject("api");
var tunnel = builder.AddDevTunnel("tunnel")
.WithReference(api);
var web = builder.AddProject("web")
.WithReference(api, tunnel)
.WithReference(api) // Already referencing api but via the tunnel
.WithRefernce(api, tunnel) // Already called this;
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.