You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The service-component pairs are being registered and injected correctly, however the backing components are not proxied and obviously the interceptor isn't called.
If I change this to an explicit registration specifying the types involved, then the proxy and interceptor functions as expected.
I'd be very happy if I was just too tired to see the obvious thing I've done wrong here with the registration, but any other ideas or suggestions would be welcome. I don't mind explicitly registering every service but I would very much like to be able to use the convention method when it was appropriate and would save time and boring boilerplate code.
The text was updated successfully, but these errors were encountered:
I am trying to add registrations via convention as per the following in a .Net 5 - API Project:
EDIT : More detail.
The service-component pairs are being registered and injected correctly, however the backing components are not proxied and obviously the interceptor isn't called.
If I change this to an explicit registration specifying the types involved, then the proxy and interceptor functions as expected.
I'd be very happy if I was just too tired to see the obvious thing I've done wrong here with the registration, but any other ideas or suggestions would be welcome. I don't mind explicitly registering every service but I would very much like to be able to use the convention method when it was appropriate and would save time and boring boilerplate code.
The text was updated successfully, but these errors were encountered: