Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
**Contributes #415 **
This pull request introduces support for integrating DbGate with MySQL resources. It includes updates to the core functionality, examples, documentation, and tests to enable and validate this feature. The most important changes are grouped below:
Core Functionality Enhancements:
WithDbGate
extension method inMySqlBuilderExtensions
to integrate DbGate with MySQL resources. This method configures environment variables and supports multiple MySQL instances.DbGateContainerImageTags
to use<remarks>
instead of<summary>
for better documentation consistency.Example Updates:
examples/dbgate/CommunityToolkit.Aspire.Hosting.DbGate.AppHost/Program.cs
to demonstrate the use ofWithDbGate
with multiple MySQL instances.examples/mysql-ext/CommunityToolkit.Aspire.Hosting.MySql.Extensions.AppHost/Program.cs
to include a DbGate configuration example alongside Adminer.Documentation Improvements:
CommunityToolkit.Aspire.Hosting.MySql.Extensions
to include DbGate as a supported tool for MySQL interaction, with updated usage examples. [1] [2]Testing Additions:
AddDbGateTests
andResourceCreationTests
to validate the integration of DbGate with MySQL resources, including environment variable configurations, container image tags, and support for multiple instances. [1] [2] [3]Dependency Updates:
CommunityToolkit.Aspire.Hosting.DbGate
inCommunityToolkit.Aspire.Hosting.MySql.Extensions.csproj
to enable the new functionality.PR Checklist
Other information