rbxts-flamework / core

Flamework is an extensible game framework. It requires typescript and offers many useful features.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generic singletons

Fireboltofdeath opened this issue · comments

Currently, Flamework only registers singletons that are: a service, a controller or were resolved as a singleton at some point (e.g as a service/controller dependency) but not when on its own.

Add flamework:singleton reflection metadata instead of hardcoding services/controllers.

An extra flamework:loadOrder is necessary to allow other singletons to specify loadOrder like services/controllers.