Outputs were getting boxed when casted to object, so this prevents that. Now, unless you're using the FakeContext for testing, outputs will always just be passed through.
This does restrict outputs to being value types — but they should be anyways ;)
Outputs were getting boxed when casted to
object
, so this prevents that. Now, unless you're using the FakeContext for testing, outputs will always just be passed through.This does restrict outputs to being value types — but they should be anyways ;)