ufront / ufront-mvc

The core MVC framework that powers ufront
MIT License
17 stars 15 forks source link

injectClass(apiClass) causes circular reference if api references each other #21

Closed kevinresol closed 9 years ago

kevinresol commented 9 years ago

need to use mapSingleton instead

e.g. https://github.com/ufront/ufront-mvc/blob/master/src/ufront/app/UfrontApplication.hx#L107 https://github.com/ufront/hello/blob/master/src/Tasks.hx#L41

jasononeil commented 9 years ago

Good pick-up. Thanks for reporting....