-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICallHandler did not intercept class with HandlerAttribute after upgrading from Unity 4 to Unity 5 #27
Comments
Could you provide a unit test that works in 4 and fails in 5?
|
Hi @ENikS, I have create a repo here. You can see that in Unity5 Version, the CallHandler did not get invoked. edit... |
@raytangRT |
@ENikS I will make one once I get home tonite. |
@ENikS Please find the attached the test case, thanks |
I am surprised this was not fixed after so much time. The problem is that people migration to 5.x may inadvertently run into this issue. There is no much point into supporting quite an old syntax if it does not behaves as expected. FWIW, I got a similar case working and I described the changes here |
Would you like to contribute the fix? I am sure people will appreciate it. |
Hi,
I am trying to update the Unity from 4.0 to 5.10, and my logging interceptor did not work, can somebody give me some idea? Thanks.
My Container setup/
and all my interface-implementaion registrations are going through the following helper function.
and my targetted class are annotated with a
HandlerAttribute
The text was updated successfully, but these errors were encountered: