This project is read-only.

Store objects created by converts with scope of original object


Currently, when a converter is used, the new instance created only has prototype scope, no matter what the scope of the object being converted. For example, if the value "" appears in an Anise script, its native type is String. If it were to be injected into a property of type Uri, a new Uri instance would be created with prototype scope.

This change would make it so that objects created by converters share the same scope as the object they were created from.