We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Regarding the removal of all sync methods, Autofac configuration is synchronous and thus means we can't do this anymore:-
builder .Register<NeoServerConfiguration>(context => NeoServerConfiguration.GetConfiguration(uri, user, pwd)) .SingleInstance();
Is there an obvious workaround I've missed?
The text was updated successfully, but these errors were encountered:
Btw, I'm using 4.x preview. Gonna switch to 3.x for now.
Sorry, something went wrong.
The only solution I can think of is using your own mediator to wrap the async code synchronously. This is all the sync versions in 3.x do, and looks like it's been written about here: https://greatrexpectations.com/2016/04/22/autofac-and-async-resources ??
3.x
No branches or pull requests
Regarding the removal of all sync methods, Autofac configuration is synchronous and thus means we can't do this anymore:-
builder .Register<NeoServerConfiguration>(context => NeoServerConfiguration.GetConfiguration(uri, user, pwd)) .SingleInstance();
Is there an obvious workaround I've missed?
The text was updated successfully, but these errors were encountered: