Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Freezing of the factory #16
Originally, I thought it was wise to freeze the returned factory, basically to keep factories immutable, and limit the amount unanticipated consequences. The challenge is that it makes it impossible to add static methods/properties to the factory.
There are three approaches I can see to resolving this:
If we choose either of the last two, we will have to change the factory cloning logic to perpetuate these static method/properties, which it currently does not do.