1
Vote

Store objects created by converts with scope of original object

description

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 "http://anise.codeplex.com" 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.

comments