Problem
As per PR the default parameterless Builder constuctor is deprecated. This line in Testcontainers.Xunit module should be refactored to create instances of Builders using new constructor.
See alse comment.
Solution
- Use factory or delegate to create builders
- Use
InternalsVisibleTo attribute and make default constructor internal instead of deleting it later
- Use reflection to create builders
- Something else
Benefit
The working Testcontainers.Xunit module without calling deprecated constructors.
Alternatives
Keep deprecated constructors for some time.
Would you like to help contributing this enhancement?
Yes
Problem
As per PR the default parameterless Builder constuctor is deprecated. This line in Testcontainers.Xunit module should be refactored to create instances of Builders using new constructor.
See alse comment.
Solution
InternalsVisibleToattribute and make default constructor internal instead of deleting it laterBenefit
The working Testcontainers.Xunit module without calling deprecated constructors.
Alternatives
Keep deprecated constructors for some time.
Would you like to help contributing this enhancement?
Yes