Skip to content
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

Parameters on Resolve? #5

Open
jeusdi opened this issue Sep 29, 2015 · 2 comments
Open

Parameters on Resolve? #5

jeusdi opened this issue Sep 29, 2015 · 2 comments

Comments

@jeusdi
Copy link

jeusdi commented Sep 29, 2015

On my code, I set parameters on my Get requests:

kernel.Get<Core.Backend.IBackend>(
        new Ninject.Parameters.Parameter("identity", lestIdentity, true)
);

I don't see how to set those parameters on Resolve method.

@kevinkuszyk
Copy link
Member

Hi @jeusdi,

We don't have an overload for that at the moment. Is it something you could add and send a pull request?

@kevinkuszyk
Copy link
Member

I had some time to look at this today, but I either got my binding config or my usage wrong as my tests are giving false positives.

Can you post an example of your binding config, how you are resolving dependencies in your production code, and what you think the test API should look like to verify your kernel is setup correctly?

Thanks!

@kevinkuszyk kevinkuszyk added this to the v1.5.0 milestone Oct 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants