MongoDB: AddCollection on MongoDBDatabaseResource
Open
area-integrations
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
I am trying to describe mongo collections in aspire to accurately reflect my infra.
### Describe the solution you'd like
Add an extension method for `IResourceBuilder` that will create the collection and make sure it was created successfully.
Enable other resources to wait for its creation.
### Additional context
I have an initial implementation that works, but needs some work on tests.
Contributor guide
Assessment
This issue has not been assessed yet.