-
Notifications
You must be signed in to change notification settings - Fork 11
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
No visual cues with SimpleInjector #42
Comments
Hi @lennartb- and thanks for the report. I'll try and replicate the behavior and see if if I can figure out what's wrong. |
Thanks, let me know if you need any more info! |
After a (very) brief look the problem might be caused by API changes in the SimpleInjector library. The SimpleInjector support in Mulder is rather old and has not been updated in a few years. I will try and have a look if we can update it and make your scenario supported. |
So I took a deeper look at how the SimpleInjector support is implemented and I don't have the best of news. The Mulder-supported SI version is majorly outdated and the API changed quite a lot. That most likely means our best course of action would be to rewrite the SI support from scratch, for which we don't have the capacity right now. More technically, the SI API converged to using a single There is some precedent with the introduction of the ASP.NET Core DI support that did a lot for type resolution improvements but this is beyond the scope for a simple fix. I'll keep this issue open to keep track and maybe we can spare some capacity for this later but I'm afraid we won't be able to solve this for you right now. I'm sorry to deliver this disappointing news. On the other hand, we would be glad to provide help and accept a pull requested if you wanted to try your hand at fixing the problem yourself. |
Thanks for looking into this. To you have a guesstimate on how complicated that would be for someone (i.e. me) not familiar with the Mulder code base to implement? I hade a quick look into the |
I'd say it's not too difficult but it's not straightforward either. Basically, you will need to be at least a little familiar with two things:
Step 1 is usually done in those classes under However, the And of course then there are tests and the test harness is rather convoluted (however, it mostly "just works" if you prepare your test data right). So, bottom line, this should give you some idea of what is involved. Given enough time and a little determination, I'm sure you will be able to figure this stuff out (and we are here to help, of course). So if you want to try it out, awesome! If not, I completely understand, it might look like a major effort at a closer look. |
R# 2019.1.3
Agent Mulder 2019.1.0
VS 16.2.0
SimpleInjector 4.6.0
Hi,
I'm new to this plugin and I can't see any visual cues at all, I also see no configuration options or indication that the plugin works at all (only that it's installed in R#s plugin manager). We use SimpleInjector to register our command interface:
And a sample aspect:
and sample command:
I should at least see "Navigate to -> Registered Components" on our interface, right? Am I missing some configuration I need to do before?
The text was updated successfully, but these errors were encountered: