You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #2012 on July 06, 2021 17:09.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm practicing mikroorm with inversify.
I have
TodoEntity
And this is the custom repository
TodoRepository
I'm injecting the
repository
into theservice
viaand this is my controller
This is the types
Container
How can I inject the custom repository to service, i'm having an error saying
Error: Missing required @injectable annotation in: SqlEntityRepository
But when I did not include the
repository
only theservice
and thecontroller
and I tried to test dump. the DI is just working finedIm following this example Inversify example with mikro orm
but on the example he's not using the custom repo, any idea where can I start to fix the issue? Thanks in advanced
Beta Was this translation helpful? Give feedback.
All reactions