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

Component dependency injection #45

Closed
Fireboltofdeath opened this issue Apr 16, 2022 · 0 comments · Fixed by rbxts-flamework/components#6
Closed

Component dependency injection #45

Fireboltofdeath opened this issue Apr 16, 2022 · 0 comments · Fixed by rbxts-flamework/components#6
Labels
domain: components Related to the Components flamework module enhancement New feature or request

Comments

@Fireboltofdeath
Copy link
Member

Fireboltofdeath commented Apr 16, 2022

Support constructor dependency injection for components to other components. This will solve many race conditions relating to components depending on eachother.

#31 is similar but involves deferring and instantiating components, if already scheduled, when calling getComponent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: components Related to the Components flamework module enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant