Skip to content

Conversation

@captainsafia
Copy link
Member

Contributes towards #8786.

@captainsafia captainsafia force-pushed the safia/docker-compose-environment-resource branch from 9e612ec to 79498f3 Compare April 16, 2025 22:30
/// </code>
/// </example>
public static IResourceBuilder<T> PublishAsDockerComposeService<T>(this IResourceBuilder<T> builder, Action<DockerComposeServiceResource, Service> configure)
where T : IResource
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use IComputeResource from #8820.

/// Initializes a new instance of the <see cref="DockerComposeEnvironmentResource"/> class.
/// </remarks>
/// <param name="name">The name of the Docker Compose environment.</param>
public class DockerComposeEnvironmentResource(string name) : Resource(name)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public class DockerComposeEnvironmentResource(string name) : Resource(name)
public class DockerComposeEnvironmentResource(string name) : Resource(name), IComputeEnvironmentResource

When #8820 is merged.

@captainsafia captainsafia marked this pull request as ready for review April 16, 2025 23:48
@captainsafia captainsafia merged commit 1db6fb2 into main Apr 17, 2025
175 checks passed
@captainsafia captainsafia deleted the safia/docker-compose-environment-resource branch April 17, 2025 00:19
@github-actions github-actions bot locked and limited conversation to collaborators May 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants