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

AssemblyInitializer (Startup) #9

Closed
isc30 opened this issue Apr 15, 2020 · 1 comment · Fixed by #53
Closed

AssemblyInitializer (Startup) #9

isc30 opened this issue Apr 15, 2020 · 1 comment · Fixed by #53
Labels
feature New feature or request requires thinking Incomplete definition
Milestone

Comments

@isc30
Copy link
Owner

isc30 commented Apr 15, 2020

We need to have a way to call lazily Startup classes after lazy loading.
I don't have a full idea on how this will work but I would maintain 2 actions:

  • Configure - adds services to IServiceCollection
  • Initialize - after configuring, it initializes the services (if extra steps are required)

Configure should be called on all the dependencies in the same order as they are loaded into memory.
Initialize should be called after ALL assemblies have been configured, not sure about the order.

@isc30 isc30 added this to the v2 milestone Apr 15, 2020
@isc30 isc30 added feature New feature or request requires thinking Incomplete definition labels Apr 16, 2020
@isc30
Copy link
Owner Author

isc30 commented May 10, 2020

Keeping it simple to fix the needs of most people.
In the end, this is just a library, not a framework.

@isc30 isc30 closed this as completed May 10, 2020
@isc30 isc30 mentioned this issue May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request requires thinking Incomplete definition
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant