Skip to content
Discussion options

You must be logged in to vote

There's no first-class support for doing this today but I think you can implement it. This won't work for deployment though, I'll file an issue:

static class WithReferenceAlias
{
    public static IResourceBuilder<ProjectResource> WithReference(
        this IResourceBuilder<ProjectResource> destination,
        IResourceBuilder<ProjectResource> source,
        string[] aliases)
    {
        static bool ContainsAmbiguousEndpoints(IEnumerable<AllocatedEndpointAnnotation> endpoints)
        {
            // An ambiguous endpoint is where any scheme (
            return endpoints.GroupBy(e => e.UriScheme).Any(g => g.Count() > 1);
        }

        return destination.WithEnvironment(context =>

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@En3Tho
Comment options

@En3Tho
Comment options

@davidfowl
Comment options

Answer selected by En3Tho
@En3Tho
Comment options

@davidfowl
Comment options

@davidfowl
Comment options

@davidfowl
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants